From bd971646ffd93f0aebb6c81927c7bd83ab95a47f Mon Sep 17 00:00:00 2001 From: Sulaiman Dauda Date: Thu, 15 Oct 2026 09:59:44 +0100 Subject: [PATCH] Make the web tsconfig work on TypeScript 7 TypeScript 7 removes baseUrl and no longer loads @types automatically, so the CSS side-effect imports stopped resolving. baseUrl and the @/* path were unused (nothing imports from @/), and vite/client declares the CSS modules. Typechecks clean on 5.9.3 and 7.0.2. Unblocks #61. Co-Authored-By: Claude Opus 5.5 --- web/tsconfig.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/tsconfig.json b/web/tsconfig.json index 99b3833..7f6c5db 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -15,10 +15,7 @@ "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, - "baseUrl": ".", - "paths": { - "@/*": ["src/*"] - } + "types": ["vite/client"] }, "include": ["src"] }