23 lines
510 B
Plaintext
23 lines
510 B
Plaintext
// This file is an augmentation to the built-in ImportMeta interface
|
|
// Thus cannot contain any top-level imports
|
|
// <https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation>
|
|
|
|
interface ImportMetaEnv {
|
|
[key: string]: any
|
|
BASE_URL: string
|
|
MODE: string
|
|
DEV: boolean
|
|
PROD: boolean
|
|
SSR: boolean
|
|
}
|
|
|
|
interface ImportMeta {
|
|
url: string
|
|
|
|
readonly hot?: import('./hot').ViteHotContext
|
|
|
|
readonly env: ImportMetaEnv
|
|
|
|
glob: import('./importGlob').ImportGlobFunction
|
|
}
|