mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-24 12:05:16 +00:00
13 lines
349 B
TypeScript
13 lines
349 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;
|
|
}
|