angular-cn/aio/tsconfig.json
George Kalpakas 32b16de8ea build(docs-infra): align config with what cli generates for new apps (#32923)
This is mainly to avoid some warning when building the app, such as:

```
WARNING in .../angular/aio/src/environments/environment.archive.ts is
part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your
tsconfig.
```

(Not turning on `fullTemplateTypeCheck` due to lots of errors.)

PR Close #32923
2019-10-04 08:27:21 -07:00

42 lines
954 B
JSON

{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "src",
"outDir": "./out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"skipLibCheck": true,
"strict": true,
"noUnusedLocals": true,
// disabled because this is on by default in tsc 2.7 breaking our codebase - we need to refactor
"strictPropertyInitialization": false
},
"exclude": [
"aio-builds-setup",
"content",
"dist",
"node_modules",
"out-tsc",
"scripts",
"tools"
],
"angularCompilerOptions": {
"disableTypeScriptVersionCheck": true,
// TODO: Fix template type errors and enable.
// "fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}