Files
2026-03-18 17:29:39 +08:00

25 lines
648 B
TypeScript

/// <reference types="vite/client" />
/// <reference types="vite-svg-loader" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<object, object, any>
export default component
}
interface ImportMetaEnv {
/** 服务端口号 */
readonly VITE_SERVER_PORT: string
/** 是否清除console */
readonly VITE_DELETE_CONSOLE: string
readonly VITE_ALIYUN_BUCKET: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
declare const __UNI_PLATFORM__: 'app' | 'h5' | 'mp-alipay' | 'mp-baidu' | 'mp-kuaishou' | 'mp-lark' | 'mp-qq' | 'mp-tiktok' | 'mp-weixin' | 'mp-xiaochengxu'