38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
"exclude": ["src/**/__tests__/*"],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"noEmit": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
// Enhanced type checking for better error detection
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
// Ensure proper module resolution for Vue
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": false,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"types": ["vite/client"]
|
|
}
|
|
}
|