Skip to content

Type check listeners #27707

Closed
Closed

Description

@pauldraper

🚀 feature request

Relevant Package

@angular/core or @angular/compiler

Description

Angular checks that the bound properties exist, whether on the component or the DOM.

However, it does not check whether listened events exit, whether on the component or the DOM.

Describe the solution you'd like

Similar to properties, maintain a list of allowed events, and cause a compile error if they are unrecognized.

Describe alternatives you've considered

I've considered never making a typo again.

Activity

  1. pkozlowski-opensource commented on Dec 17, 2018

    @pkozlowski-opensource
    Member

    Duplicate of the existing issue #3426

  2. pauldraper commented on Dec 17, 2018

    @pauldraper
    ContributorAuthor
  3. angular-automatic-lock-bot commented on Sep 14, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  4. locked and limited conversation to collaborators on Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions