build(lineup-app): adapt client to TypeScript 6

This commit is contained in:
2026-08-06 11:50:08 +08:00
parent 934bccb274
commit 359dc1bb66
4 changed files with 10 additions and 7 deletions
+4 -4
View File
@@ -14,7 +14,7 @@
}, },
"devDependencies": { "devDependencies": {
"@tauri-apps/cli": "^2.0.0", "@tauri-apps/cli": "^2.0.0",
"typescript": "^5.7.3", "typescript": "^6.0.3",
"vite": "^6.1.0", "vite": "^6.1.0",
"vitest": "^3.2.7" "vitest": "^3.2.7"
} }
@@ -1732,9 +1732,9 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.9.3", "version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
+1 -1
View File
@@ -20,7 +20,7 @@
}, },
"devDependencies": { "devDependencies": {
"@tauri-apps/cli": "^2.0.0", "@tauri-apps/cli": "^2.0.0",
"typescript": "^5.7.3", "typescript": "^6.0.3",
"vite": "^6.1.0", "vite": "^6.1.0",
"vitest": "^3.2.7" "vitest": "^3.2.7"
} }
+4
View File
@@ -0,0 +1,4 @@
declare module "*.css" {
const stylesheet: string;
export default stylesheet;
}
+1 -2
View File
@@ -6,9 +6,8 @@
"lib": ["ES2022", "DOM", "DOM.Iterable"], "lib": ["ES2022", "DOM", "DOM.Iterable"],
"skipLibCheck": true, "skipLibCheck": true,
"moduleResolution": "bundler", "moduleResolution": "bundler",
"baseUrl": ".",
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["./src/*"]
}, },
"allowImportingTsExtensions": false, "allowImportingTsExtensions": false,
"resolveJsonModule": true, "resolveJsonModule": true,