You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
There appears to be an issue when using an interface to extend a Generic type into a Concrete Interface where it triggers "An interface declaring no members is equivalent to its supertype"
This became an issue when I updated earlier today from tslint version 4.5.1 -> 5.2.0
You can use --stylish or --verbose output to see which rule is failing. (#2228)
In this case it's no-empty-interface.
You can just use export type AuthCallback = Callback<Auth>; instead.
@andy-ms I apologize, you are correct after a bit of testing 😏 . I will close this issue.
I was thinking that in cases where the supertype was an interface with members, you'd have to extend it, but no. I was wrong. Your solution works fine in that case as well.
There appears to be an issue when using an interface to extend a Generic type into a Concrete Interface where it triggers "An interface declaring no members is equivalent to its supertype"
This became an issue when I updated earlier today from tslint version 4.5.1 -> 5.2.0
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
"An interface declaring no members is equivalent to its supertype"
Expected behavior
No error
The text was updated successfully, but these errors were encountered: