Skip to content

Change phrasing for "default property value" diagnostic #45049

@DanielRosenwasser

Description

@DanielRosenwasser

In #43005, we added a diagnostic:

"Missing '=' before default property value.

But these aren't default property values - they're initializers. I guess they're "defaults" in the absence of any other values, but that's not really the right term.

I think it should be

"Expected '=' for property initializer.

or

"Missing '=' for property initializer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions