feat(ivy): introduce a flag to control template type-checking for Ivy (#29698)
Template type-checking is enabled by default in the View Engine compiler. The feature in Ivy is not quite ready for this yet, so this flag will temporarily control whether templates are type-checked in ngtsc. The goal is to remove this flag after rolling out template type-checking in google3 in Ivy mode, and making sure the feature is as compatible with the View Engine implementation as possible. Initially, the default value of the flag will leave checking disabled. PR Close #29698
This commit is contained in:

committed by
Ben Lesh

parent
42262e4e8c
commit
d9ce8a4ab5
@ -76,7 +76,8 @@ export class NgtscTestEnvironment {
|
||||
"typeRoots": ["node_modules/@types"]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": true
|
||||
"enableIvy": true,
|
||||
"ivyTemplateTypeCheck": false
|
||||
},
|
||||
"exclude": [
|
||||
"built"
|
||||
|
Reference in New Issue
Block a user