From caeab59a4604ac71615cafa97d460293ba4c3561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SHAN=20=CE=9E=20=20M=E2=9A=A1=EF=B8=8F?= Date: Thu, 26 Dec 2024 20:24:59 -0500 Subject: [PATCH] fix: add required incremental option and remove invalid typescript config --- client/tsconfig.app.json | 20 +++++++++++++------- client/tsconfig.node.json | 16 +++++++++------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/client/tsconfig.app.json b/client/tsconfig.app.json index 9fc087d71be..1958b6c128c 100644 --- a/client/tsconfig.app.json +++ b/client/tsconfig.app.json @@ -1,12 +1,16 @@ { "compilerOptions": { + "incremental": true, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": [ + "ES2020", + "DOM", + "DOM.Iterable" + ], "module": "ESNext", "skipLibCheck": true, - /* Bundler mode */ "moduleResolution": "Bundler", "allowImportingTsExtensions": true, @@ -14,17 +18,19 @@ "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", - /* Linting */ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true, "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": [ + "./src/*" + ] } }, - "include": ["src"] -} + "include": [ + "src" + ] +} \ No newline at end of file diff --git a/client/tsconfig.node.json b/client/tsconfig.node.json index 196c6d65ecd..e19c0f6fbdf 100644 --- a/client/tsconfig.node.json +++ b/client/tsconfig.node.json @@ -1,24 +1,26 @@ { "compilerOptions": { + "incremental": true, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", "target": "ES2022", - "lib": ["ES2023"], + "lib": [ + "ES2023" + ], "module": "ESNext", "skipLibCheck": true, - /* Bundler mode */ "moduleResolution": "Bundler", "allowImportingTsExtensions": true, "isolatedModules": true, "moduleDetection": "force", "noEmit": true, - /* Linting */ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true + "noFallthroughCasesInSwitch": true }, - "include": ["vite.config.ts"] -} + "include": [ + "vite.config.ts" + ] +} \ No newline at end of file