frequi_origin/src/env.d.ts
2024-03-10 20:29:55 +01:00

15 lines
389 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;
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare const __COMMIT_HASH__: string;