Files
vue-desktop/tsconfig.app.json

23 lines
842 B
JSON
Raw Normal View History

2025-08-19 14:56:38 +08:00
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"paths": {
"@/*": ["./src/*"]
},
"experimentalDecorators": true,
2025-08-26 17:04:31 +08:00
"target": "es2021",
"lib": ["es2021", "dom"],
2025-08-19 14:56:38 +08:00
"module": "ESNext",
2025-08-21 16:57:42 +08:00
"strictPropertyInitialization": false, // 严格属性初始化检查
"noUnusedLocals": false, // 检查未使用的局部变量
"noUnusedParameters": false, // 检查未使用的参数
"noImplicitReturns": true, // 检查函数所有路径是否都有返回值
"noImplicitOverride": true, // 检查子类是否正确覆盖了父类方法
2025-08-25 16:42:07 +08:00
"allowSyntheticDefaultImports": true // 允许使用默认导入
2025-08-19 14:56:38 +08:00
}
}