Skip to content

Commit d9d5683

Browse files
committed
build: disable strict attribute type checking
We are temporarily disabling strict attribute type checking since we have a few templates that set a coerced input while the `NgModel` directive is applied. In those cases, the empty string for the `disabled` input, is not assignable to the `NgModel#disabled` input, since it does not do coercion. We need to figure out what to do in those scenarios.
1 parent 920102a commit d9d5683

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/bazel/postinstall-patches.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ searchAndReplace(`[formatProperty + "_ivy_ngcc"]`, '[formatProperty]',
109109
searchAndReplace(/angular_compiler_options = {/, `$&
110110
"strictTemplates": True,
111111
"strictDomLocalRefTypes ": False,
112+
"strictAttributeTypes": False,
112113
"strictDomEventTypes": False,`, 'node_modules/@angular/bazel/src/ng_module.bzl');
113114

114115
/**

0 commit comments

Comments
 (0)