learn-vue/components_vue3/tsconfig.json

29 lines
669 B
JSON

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": true, // js/ts 混用时设为false
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noImplicitThis": true, // js/ts 混用时设为false
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"src",
"src/typings/*.d.ts"
],
"exclude": ["node_modules"]
}