Files
school2/types/env.d.ts
T
2026-07-13 15:23:29 +08:00

16 lines
406 B
TypeScript

declare namespace Env {
/** The router history mode */
type RouterHistoryMode = 'hash' | 'history' | 'memory';
/** Interface for import.meta */
interface ImportMeta extends ImportMetaEnv {
/** The base url of the application */
readonly VITE_BASE_URL: string;
readonly VITE_CONSTANT_ROUTE_MODE: 'dynamic' | 'static';
readonly VITE_ROUTER_HISTORY_MODE?: RouterHistoryMode;
}
}