Skip to content

@typescript-eslint/no-unused-vars: Do not report reserved interfaces #348

Closed
@marekdedic

Description

@marekdedic

Description

Hi, as per this RFC, the interface names $$Props, $$Events, $$Slots are reserved and have a special meaning inside a svelte component. Therefore, they probably shouldn't be reported by @typescript-eslint/no-unused-vars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions