From 28ccd90af9cc6c40dfd9c8a0ce77639acd0cbeed Mon Sep 17 00:00:00 2001 From: User Date: Mon, 8 Sep 2025 13:25:11 +0200 Subject: [PATCH] Add ImportMetaEnv and ImportMeta interfaces for Vite environment variables --- frontend/src/vite-env.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/vite-env.d.ts b/frontend/src/vite-env.d.ts index 11f02fe2a0..b54b4c9828 100644 --- a/frontend/src/vite-env.d.ts +++ b/frontend/src/vite-env.d.ts @@ -1 +1,9 @@ /// + +interface ImportMetaEnv { + readonly VITE_API_URL: string +} + +interface ImportMeta { + readonly env: ImportMetaEnv +}