1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {
- "compilerOptions": {
- "declaration": true,
- "target": "esnext",
- "module": "esnext",
- "strict": false,//启用所有严格类型检查选项。
- "jsx": "preserve",
- "moduleResolution": "node",
- "experimentalDecorators": true,
- "skipLibCheck": true,//忽略所有的声明文件( *.d.ts)的类型检查。
- "esModuleInterop": true,
- "allowSyntheticDefaultImports": true,
- "forceConsistentCasingInFileNames": true,
- "useDefineForClassFields": true,
- "sourceMap": true,//生成相应的 .map文件。
- "resolveJsonModule": true,
- "baseUrl": ".",
- "types": [
- "webpack-env"
- ],
- "paths": {
- "@/*": [
- "src/*"
- ]
- },
- "lib": [
- "esnext",
- "dom",
- "dom.iterable",
- "scripthost"
- ]
- },
- "include": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.vue",
- "tests/**/*.ts",
- "tests/**/*.tsx"
- ],
- "exclude": [
- "node_modules"
- ]
- }
|