mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 09:27:19 +08:00
28 lines
597 B
TypeScript
28 lines
597 B
TypeScript
declare interface ImportMeta {
|
|
readonly hot?: {
|
|
readonly data: any
|
|
|
|
accept(): void
|
|
accept(cb: (mod: any) => void): void
|
|
|
|
acceptDeps(dep: string, cb: (mod: any) => void): void
|
|
acceptDeps(deps: readonly string[], cb: (mods: any[]) => void): void
|
|
|
|
dispose(cb: (data: any) => void): void
|
|
decline(): void
|
|
invalidate(): void
|
|
|
|
on(event: string, cb: (...args: any[]) => void): void
|
|
}
|
|
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
declare interface ImportMetaEnv {
|
|
[key: string]: string | boolean | undefined
|
|
BASE_URL: string
|
|
MODE: string
|
|
DEV: boolean
|
|
PROD: boolean
|
|
}
|