-
Notifications
You must be signed in to change notification settings - Fork 27.2k
undefined Output should show error in the parent template #43603
Copy link
Copy link
Open
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercompiler: template type-checkingfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration
Milestone
Metadata
Metadata
Assignees
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercompiler: template type-checkingfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration
Which @angular/* package(s) are relevant/releated to the feature request?
core
Description
I believe I have all the template strict checks enabled, and I was expecting to have a template error at my parent component telling me that my child component does not have certain output if there is a typo in its name.
Proposed solution
The compiler should warn about a non-existing output in the component element.
Alternatives considered
Please let me know if this error check already exists, I may just be missing enabling it. I tried googling for it but could not find anything relevant.