diff --git a/web/src/vite-env.d.ts b/web/src/vite-env.d.ts new file mode 100644 index 00000000..a33c5e01 --- /dev/null +++ b/web/src/vite-env.d.ts @@ -0,0 +1,14 @@ +/// + +interface ViteTypeOptions { + strictImportMetaEnv: unknown +} + +interface ImportMetaEnv { + readonly VITE_APP_API_ROOT: string; + readonly VITE_APP_VERSION: string; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +}