1 Star 0 Fork 0

绿荫阿广/components

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
// TypeScript config file that matches all source files in the project. This file is read by
// IDEs and TSLint. For IDEs it ensures that `experimentalDecorator` warnings are not showing up.
{
"compilerOptions": {
"outDir": "./dist/packages/all",
"experimentalDecorators": true,
// Bazel either uses "umd" or "esnext". We replicate this here for IDE support.
// https://github.com/bazelbuild/rules_typescript/blob/master/internal/common/tsconfig.bzl#L199
"module": "esnext",
"moduleResolution": "node",
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": false,
"strictNullChecks": true,
"noImplicitReturns": true,
"strictFunctionTypes": true,
"noImplicitAny": true,
"noImplicitThis": true,
"skipLibCheck": true,
"strictBindCallApply": true,
"target": "es2015",
"lib": ["es5", "es2015", "dom"],
"types": ["jasmine"],
"baseUrl": ".",
"paths": {
"@angular/cdk": ["./src/cdk"],
"@angular/cdk/*": ["./src/cdk/*"],
"@angular/material/*": ["./src/material/*"],
"@angular/material-experimental/*": ["./src/material-experimental/*"],
"@angular/material-experimental": ["./src/material-experimental"],
"@angular/cdk-experimental/*": ["./src/cdk-experimental/*"],
"@angular/cdk-experimental": ["./src/cdk-experimental"],
"@angular/material-moment-adapter": ["./src/material-moment-adapter"],
"@angular/components-examples": ["./src/components-examples"],
"@angular/components-examples/*": ["./src/components-examples/*"]
}
},
"include": [
"src/**/*.ts",
"e2e/**/*.ts",
"test/**/*.ts",
"tools/**/*.ts",
"integration/**/*.ts",
"scripts/**/*.ts"
],
"exclude": [
// Exclude files that depend on Node APIs because those depend on the Node types and therefore
// cause ambiguous imports. For example `setTimeout()` will return a Timer instead of a number.
"./src/universal-app/prerender.ts",
// Exclude the API goldens in order to not slow-down IDE's using this tsconfig file
"tools/public_api_guard/**/*.d.ts",
// IDEs should not type-check the different node_modules directories of the different packages.
// This would cause the IDEs to be slower and also linters would check the node_modules.
"node_modules/",
// Exclude schematic template files and test cases which aren't valid TS files.
"src/material/schematics/ng-generate/*/files/**/*",
"src/cdk/schematics/ng-generate/*/files/**/*",
"src/cdk/schematics/ng-update/test-cases/**/*",
"src/material/schematics/ng-update/test-cases/**/*"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/greenshade/components.git
git@gitee.com:greenshade/components.git
greenshade
components
components
master

搜索帮助