{ "compilerOptions": { "outDir": "./dist", "allowJs": true, "target": "ES5", "noImplicitReturns": true, // 函数末尾返回值 "noFallthroughCasesInSwitch": true, // switch case直接break "allowUnreachableCode": true, // 未执行代码 "allowUnusedLabels": true, // 未执行标签 "strictNullChecks": true, // 空检查 "noImplicitAny": false, // 隐式any检查 }, "include": [ "./src" ] }