-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Type checking for host bindings #45847
Copy link
Copy link
Closed
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercompiler: template type-checkingcore: host and host bindingsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Milestone
Description
Angular does not currently perform type checking for @Component and @Directive host bindings. This is a gap in Angular's otherwise robust template type checking system that leaves the door open to typos and type mismatches.
- Introduce an option for host binding type checking
- Devise and execute a rollout plan to make this the new default behavior
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercompiler: template type-checkingcore: host and host bindingsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues