22 lines
487 B
TypeScript
22 lines
487 B
TypeScript
/// <reference types="vite/client" />
|
|
declare interface ImportMetaEnv {
|
|
readonly VITE_APP_NAME: string
|
|
readonly VITE_APP_SYSTEMCODE: string
|
|
// 更多环境变量...
|
|
}
|
|
|
|
declare interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
declare interface Window {
|
|
wx: any
|
|
printLog: boolean | undefined | null
|
|
}
|
|
|
|
declare module "*.vue" {
|
|
import type { DefineComponent } from "vue";
|
|
const component: DefineComponent<{}, {}, any>;
|
|
export default component;
|
|
}
|