From ec188cd1bb493602c7a8c7c2b870eb7f3e7dad34 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Wed, 27 Mar 2024 22:48:12 +0100 Subject: [PATCH] fix ts --- src/env.d.ts | 16 ++++++++-------- tsconfig.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/env.d.ts b/src/env.d.ts index 5d707a9..4481cdc 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,10 +1,10 @@ /// -interface ImportMetaEnv { - readonly VITE_API_KEY: string - // more env variables... -} - -interface ImportMeta { - readonly env: ImportMetaEnv -} +// interface ImportMetaEnv { +// readonly VITE_API_KEY: string +// more env variables... +// } +// +// interface ImportMeta { +// readonly env: ImportMetaEnv +// } diff --git a/tsconfig.json b/tsconfig.json index 6689f2e..afa1ac1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "target": "ES2018", "module": "ES2020", "isolatedModules": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "lib": [ "dom", "es5"