From 85cbbf95c5b70ce622bb06f44f2498c8bb8641bf Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 21 Mar 2025 10:15:38 +0100 Subject: [PATCH] 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. --- .../schematics/angular/workspace/files/tsconfig.json.template | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/workspace/files/tsconfig.json.template b/packages/schematics/angular/workspace/files/tsconfig.json.template index 45c41bcc800d..92d84123aeee 100644 --- a/packages/schematics/angular/workspace/files/tsconfig.json.template +++ b/packages/schematics/angular/workspace/files/tsconfig.json.template @@ -20,6 +20,7 @@ "enableI18nLegacyMessageIdFormat": false<% if (strict) { %>, "strictInjectionParameters": true, "strictInputAccessModifiers": true, + "typeCheckHostBindings": true, "strictTemplates": true<% } %> } }