frequi_origin/src/env.d.ts
2024-04-25 16:39:03 +02:00

14 lines
327 B
TypeScript

/* Provide Type for Vite's import.meta.env structure */
interface ImportMetaEnv extends Readonly<Record<string, string>> {
readonly BASE_URL: string;
readonly MODE: string;
readonly PROD: boolean;
readonly DEV: boolean;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare const __COMMIT_HASH__: string;