You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
1.4 KiB

{
"compilerOptions": {
"strict": true,
"target": "ES5",
"esModuleInterop": true, // 使es6
"module":"ESNext", // ,UMDrollup
"lib": [
"esnext"
],
"removeComments": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
//
"allowUnreachableCode": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": false, // 使
"noUnusedParameters": false, // 使
"noImplicitReturns": true, //
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"noFallthroughCasesInSwitch": true, // switchcase使breakswitch
"moduleResolution": "node",
"baseUrl": ".", //
"rootDir": ".", //
"paths": { // baseUrl
"@/*": ["src/*"]
}
},
"include": ["src/**.ts", "types/global.d.ts"],
"exclude": ["node_modules"]
}