There was an error while loading. Please reload this page.
skipLibCheck
false
1 parent 7e8e004 commit cc54e29Copy full SHA for cc54e29
packages/vite/types/importMeta.d.ts
@@ -11,8 +11,7 @@ interface ViteTypeOptions {
11
type ImportMetaEnvFallbackKey =
12
'strictImportMetaEnv' extends keyof ViteTypeOptions ? never : string
13
14
-interface ImportMetaEnv {
15
- [key: ImportMetaEnvFallbackKey]: any
+interface ImportMetaEnv extends Record<ImportMetaEnvFallbackKey, any> {
16
BASE_URL: string
17
MODE: string
18
DEV: boolean
0 commit comments