50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"noImplicitAny": false,
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node",
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"sourceMap": true,
|
|
// 忽略 this 的类型检查, Raise error on this expressions with an implied any type.
|
|
"noImplicitThis": false,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"lib": [
|
|
"ESNext",
|
|
"DOM"
|
|
],
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": [
|
|
"src/*"
|
|
],
|
|
"~/*": [
|
|
"/*"
|
|
]
|
|
},
|
|
"skipLibCheck": true
|
|
},
|
|
"include": [
|
|
"./src/types/*.d.ts",
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"test.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.node.json"
|
|
}
|
|
],
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "CommonJS",
|
|
"esModuleInterop": true
|
|
}
|
|
}
|
|
} |