Skip to content

Better wording for unused types error message #23630

@mhegazy

Description

@mhegazy

Code

export { };
type X = number | string;

Produces:
'X' is declared but its value is never read.
The error message should be 'X' is declared but its value is never **used**.

read is a value-specific event, types are not written to or read from really.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingFixedA PR has been merged for this issueHelp 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