chore(deps): update typescript to v6

TypeScript 6 deprecates baseUrl and checks side-effect imports. Drop baseUrl, which paths does not need, and load the vite/client types so the CSS import resolves. Remove trailing commas from tsconfig.json so the JSON hook accepts it.
This commit is contained in:
2026-10-04 10:15:10 +01:00
parent dbbe254bfc
commit 20470bfd3e
3 changed files with 69 additions and 69 deletions
+4 -4
View File
@@ -11,15 +11,15 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"types": ["vite/client"],
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
},
"@/*": ["./src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }],
"references": [{ "path": "./tsconfig.node.json" }]
}