From 83b18b43cfe73bd881a89d8d6ad3b6651ce51ec5 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 21 May 2026 19:57:30 +0000 Subject: [PATCH] revert: keep original dashboard tsconfig (Task 10 didn't need to change it) --- dashboard/tsconfig.app.json | 6 +++++- dashboard/tsconfig.node.json | 9 ++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/dashboard/tsconfig.app.json b/dashboard/tsconfig.app.json index da3e985..ab4554d 100644 --- a/dashboard/tsconfig.app.json +++ b/dashboard/tsconfig.app.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "target": "ES2022", "useDefineForClassFields": true, "lib": ["ES2022", "DOM", "DOM.Iterable"], "module": "ESNext", + "types": ["vite/client"], "skipLibCheck": true, /* Bundler mode */ @@ -18,7 +20,9 @@ "strict": true, "noUnusedLocals": false, "noUnusedParameters": false, - "noFallthroughCasesInSwitch": true + "erasableSyntaxOnly": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true }, "include": ["src"] } diff --git a/dashboard/tsconfig.node.json b/dashboard/tsconfig.node.json index 7be5155..8a67f62 100644 --- a/dashboard/tsconfig.node.json +++ b/dashboard/tsconfig.node.json @@ -1,7 +1,8 @@ { "compilerOptions": { - "target": "ES2022", - "lib": ["ES2022"], + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "target": "ES2023", + "lib": ["ES2023"], "module": "ESNext", "types": ["node"], "skipLibCheck": true, @@ -17,7 +18,9 @@ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "erasableSyntaxOnly": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true }, "include": ["vite.config.ts"] }