mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
feat(@schematics/angular): add noImplicitOverride
and noPropertyAccessFromIndexSignature
to workspace tsconfig
With this change, when the workspace is created in strict mode (the default) we add the following additional tsconfig options; - [noImplicitOverride](https://www.typescriptlang.org/tsconfig#noImplicitOverride) - [noPropertyAccessFromIndexSignature](https://www.typescriptlang.org/tsconfig#noPropertyAccessFromIndexSignature) Closes #21279
This commit is contained in:
parent
1e142cd29a
commit
3ba13f467c
@ -6,6 +6,8 @@
|
||||
"outDir": "./dist/out-tsc",<% if (strict) { %>
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"noImplicitOverride": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,<% } %>
|
||||
"sourceMap": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user