Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Currently the @typescript-eslint/prefer-interface is part of therecommended rules as an error. I believe the reasons are dated and in most cases types are just as capable and more flexible. There are a few cases where interfaces are better but I would not recommend them as a default. Therefor I would recommend removing this rule as a recommendation and just allowing users to configure it if they really prefer to.
See also the discussion in issue#142 and point 19 inhttps://medium.com/@martin_hotell/10-typescript-pro-tips-patterns-with-or-without-react-5799488d6680