Skip to content

Commit 3ba13f4

Browse files
committed
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
1 parent 1e142cd commit 3ba13f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/schematics/angular/workspace/files/tsconfig.json.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"outDir": "./dist/out-tsc",<% if (strict) { %>
77
"forceConsistentCasingInFileNames": true,
88
"strict": true,
9+
"noImplicitOverride": true,
10+
"noPropertyAccessFromIndexSignature": true,
911
"noImplicitReturns": true,
1012
"noFallthroughCasesInSwitch": true,<% } %>
1113
"sourceMap": true,

0 commit comments

Comments
 (0)