feat(ivy): implement unknown element detection in jit mode (#33419)
In ViewEngine we used to throw an error if we encountered an unknown element while rendering. We have this already for Ivy in AoT, but we didn't in JiT. These changes implement the error for JiT mode. PR Close #33419
This commit is contained in:
@ -958,7 +958,7 @@ Did you run and wait for 'resolveComponentResources()'?` :
|
||||
|
||||
onlyInIvy(`Unknown property warning logged instead of an error`)
|
||||
.it('should error on unknown bound properties on custom elements by default', () => {
|
||||
@Component({template: '<some-element [someUnknownProp]="true"></some-element>'})
|
||||
@Component({template: '<div [someUnknownProp]="true"></div>'})
|
||||
class ComponentUsingInvalidProperty {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user