tsconfig.json•733 B
{
"compilerOptions": {
// "noImplicitAny": true,
"module": "commonjs",
"target": "es6",
"strict": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"paths": {
"@/*": ["./src/*"],
},
"lib": [
"ES2021", //ES2020.String不支持.replaceAll
"DOM",
"DOM.Iterable",
],
"types": [
"zod",
"siyuan",
"vue"
],
"typeRoots": ["./src/types"]
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"static/*.md",
"src/**/*.vue"
],
"references": [
{
"path": "./tsconfig.node.json"
}
],
"root": ".",
"skipLibCheck": true,
}