mobilizon/js/env.d.ts
Thomas Citharel d2b59e6444
Add typings for vite import.meta.env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-28 10:54:24 +02:00

13 lines
238 B
TypeScript

/// <reference types="histoire/vue" />
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_SERVER_URL: string;
readonly VITE_HISTOIRE_ENV: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}