Skip to content

index sgnature is reported as unused in classes #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
armano2 opened this issue Feb 12, 2019 · 0 comments
Closed

index sgnature is reported as unused in classes #262

armano2 opened this issue Feb 12, 2019 · 0 comments
Assignees
Labels
bug Something isn't working package: parser Issues related to @typescript-eslint/parser

Comments

@armano2
Copy link
Collaborator

armano2 commented Feb 12, 2019

This issue was initially reported here: eslint/typescript-eslint-parser#557 (comment)


This happens with index signatures in class properties as well:

export default class Foo {
    [key: string]: any;
}
2:6  error  'key' is not defined  no-undef
@armano2 armano2 added package: parser Issues related to @typescript-eslint/parser triage Waiting for team members to take a look bug Something isn't working and removed triage Waiting for team members to take a look labels Feb 12, 2019
@armano2 armano2 self-assigned this Feb 12, 2019
@armano2 armano2 closed this as completed Feb 12, 2019
@typescript-eslint typescript-eslint locked as resolved and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working package: parser Issues related to @typescript-eslint/parser
Projects
None yet
Development

No branches or pull requests

1 participant