🌐 AI搜索 & 代理 主页
Skip to content

Enhancement: Forbid abstract method to have implementation #11653

@fisker

Description

@fisker

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

Relevant Package

ast-spec

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

abstract class A  {
  abstract method() { }
}

Should not be allowed

1245: Method 'method' cannot have an implementation because it is marked abstract. 2:12 - 2:18

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