-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this
Milestone
Description
Bug Report
π Search Terms
operand delete operator double diagnostic error
π Version & Regression Information
- This changed between versions 3.9 and 4.0
Before 4.0, we only gave one error here. In 4.0 and above, we give two errors.
β― Playground Link
π» Code
class Foo {}
delete Foo.name;
π Actual behavior
Two errors
π Expected behavior
One error
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this