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
In Typescript, a class and an interface with the same name are merged into one type. If I want to export that type as default, I have to export default both the class and the interface.
This is incorrectly flagged with Multiple default exports.
In Typescript, a class and an interface with the same name are merged into one type. If I want to export that type as default, I have to
export default
both the class and the interface.This is incorrectly flagged with
Multiple default exports
.Code:
Actual:
Expected:
No linting error.
Versions:
The text was updated successfully, but these errors were encountered: