Skip to content

Enhancement: Forbid invalid modifiers in object methods #11687

@fisker

Description

@fisker

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

typescript-estree

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

Similar to #11655, but there are more modifiers currently not forbidden.

({declare method(){}});
({export method(){}});
({override method(){}});
({private method(){}});
({protected method(){}});
({public method(){}});

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issueenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions