-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[no-empty-interface] can't extend Array, "declaring no members is equivalent to its supertype" #667
Comments
the solution to this is type Hiscores = Array<Hiscore> |
@bradzacher Cheers! Eslint did not like that, but likes |
I hadn't thought of providing a fixer for this. |
@bradzacher Are you still fine with adding a fixer for "noEmptyWithSuper" message? I'm gonna take it over and open PR. |
Definitely, go for it! |
rules = recommended
Expected Result
no error
Actual Result
An interface declaring no members is equivalent to its supertype. [Error/@typescript-eslint/no-empty-interface]
Additional Info
Versions
@typescript-eslint/eslint-plugin
1.11.0
@typescript-eslint/parser
1.11.0
TypeScript
X.Y.Z
ESLint
6.0.1
node
12.3.1
npm
X.Y.Z
The text was updated successfully, but these errors were encountered: