From cdb2c355c02808200d895291e7905e279ab9eb13 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Thu, 12 Feb 2026 10:31:23 +0300 Subject: [PATCH] fix: add types for env variables --- src/app/types/ambient.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/app/types/ambient.d.ts b/src/app/types/ambient.d.ts index d2f5b6e..4700e35 100644 --- a/src/app/types/ambient.d.ts +++ b/src/app/types/ambient.d.ts @@ -35,3 +35,16 @@ declare module '*.jpg' { const content: string; export default content; } + +/// + +interface ImportMetaEnv { + readonly DEV: boolean; + readonly PROD: boolean; + readonly MODE: string; + // Add other env variables you use +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +}