Skip to content

Improve documentation for typescript/no-unused-vars #46

Closed
@OliverJAsh

Description

@OliverJAsh

There are several use cases typescript/no-unused-vars does not yet support, such as type declarations:

type Foo = string;
// unexpected error
const foo: Foo = 'foo';

Would it be possible to track the status of this somewhere in the documentation? The docs for typescript/no-unused-vars do not make any mention of this.

I would be happy to raise a PR, but I don't know the full details of what is and isn't supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions