Skip to content

Commit 9e6b9b5

Browse files
crisbetoclydin
authored andcommitted
fix(@schematics/angular): add type checking of host bindings to strict config
Adds the `typeCheckHostBindings` flag when the user has opted into strict type checking.
1 parent 2a32030 commit 9e6b9b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"enableI18nLegacyMessageIdFormat": false<% if (strict) { %>,
2121
"strictInjectionParameters": true,
2222
"strictInputAccessModifiers": true,
23+
"typeCheckHostBindings": true,
2324
"strictTemplates": true<% } %>
2425
}
2526
}

0 commit comments

Comments
 (0)