23 lines
842 B
JSON
23 lines
842 B
JSON
{
|
|
"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,
|
|
"target": "es2021",
|
|
"lib": ["es2021", "dom"],
|
|
"module": "ESNext",
|
|
"strictPropertyInitialization": false, // 严格属性初始化检查
|
|
"noUnusedLocals": false, // 检查未使用的局部变量
|
|
"noUnusedParameters": false, // 检查未使用的参数
|
|
"noImplicitReturns": true, // 检查函数所有路径是否都有返回值
|
|
"noImplicitOverride": true, // 检查子类是否正确覆盖了父类方法
|
|
"allowSyntheticDefaultImports": true // 允许使用默认导入
|
|
}
|
|
}
|