Fix vite env type declarations and tsconfig in PartnerUI
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
|||||||
|
/// <reference types="vite/client" />
|
||||||
|
|
||||||
|
interface ImportMetaEnv {
|
||||||
|
readonly VITE_OIDC_AUTHORITY?: string;
|
||||||
|
readonly VITE_OIDC_AUDIENCE?: string;
|
||||||
|
readonly VITE_OIDC_CLIENT_ID?: string;
|
||||||
|
readonly VITE_API_BASE_URL?: string;
|
||||||
|
readonly VITE_HASHER_SALT?: string;
|
||||||
|
readonly VITE_HASHER_MIN_LENGTH?: string;
|
||||||
|
readonly [key: string]: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ImportMeta {
|
||||||
|
readonly env: ImportMetaEnv;
|
||||||
|
}
|
||||||
@@ -4,7 +4,6 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"useDefineForClassFields": false,
|
"useDefineForClassFields": false,
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"types": ["vite/client"],
|
|
||||||
"lib": [
|
"lib": [
|
||||||
"ES2022",
|
"ES2022",
|
||||||
"DOM",
|
"DOM",
|
||||||
|
|||||||
Reference in New Issue
Block a user