From 4a8ce0395c91bf7a1757d439e574a02e66ecc462 Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 27 Apr 2022 20:44:37 +0900 Subject: [PATCH] :v: --- packages/client/@types/env.d.ts | 9 --------- packages/client/tsconfig.json | 5 +++++ 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 packages/client/@types/env.d.ts diff --git a/packages/client/@types/env.d.ts b/packages/client/@types/env.d.ts deleted file mode 100644 index 28ae7076ee..0000000000 --- a/packages/client/@types/env.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/// - -interface ImportMetaEnv { - readonly VITE_APP_TITLE: string -} - -interface ImportMeta { - readonly env: ImportMetaEnv -} diff --git a/packages/client/tsconfig.json b/packages/client/tsconfig.json index e4e5fee532..2c387286a4 100644 --- a/packages/client/tsconfig.json +++ b/packages/client/tsconfig.json @@ -19,6 +19,8 @@ "experimentalDecorators": true, "resolveJsonModule": true, "allowSyntheticDefaultImports": true, + "isolatedModules": true, + "useDefineForClassFields": true, "baseUrl": ".", "paths": { "@/*": ["./src/*"], @@ -27,6 +29,9 @@ "node_modules/@types", "@types", ], + "types": [ + "vite/client", + ], "lib": [ "esnext", "dom"