13 lines
245 B
TypeScript
13 lines
245 B
TypeScript
/// <reference types="vite/client" />
|
|
declare interface ImportMetaEnv {
|
|
readonly VITE_APP_ENV: string
|
|
// 更多环境变量...
|
|
}
|
|
|
|
declare interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
declare interface Window {
|
|
wx: any;
|
|
} |