Skip to content

Codefix for "Did you mean to include 'new'?" #26580

Closed
@ghost

Description

Suggestion

Given this code:

class C {}
C();

The error message says Did you mean to include 'new'?. We should have code fix that adds 'new' in front of the call expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: Quick FixesEditor-provided fixes, often called code actions.Experience EnhancementNoncontroversial enhancementsFixedA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions