Files
vue3-template-h5/env.d.ts
T
2023-04-13 19:49:22 +08:00

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;
}