Skip to content

Commit

Permalink
feat(@schematics/angular): add noImplicitOverride and `noPropertyAc…
Browse files Browse the repository at this point in the history
…cessFromIndexSignature` 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
  • Loading branch information
alan-agius4 committed Aug 9, 2021
1 parent 1e142cd commit 3ba13f4
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -6,6 +6,8 @@
"outDir": "./dist/out-tsc",<% if (strict) { %>
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,<% } %>
"sourceMap": true,
Expand Down

0 comments on commit 3ba13f4

Please sign in to comment.