Files

19 lines
504 B
TypeScript
Raw Permalink Normal View History

/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, unknown>
export default component
}
interface ImportMetaEnv {
readonly VITE_API_BASE: string
readonly VITE_VRENDER_HOST: string
// 'true' = 走前端 mock;其余值(含未设置)一律走真实后端。
readonly VITE_USE_MOCK?: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}