Rule: interface-over-type-literal
Prefer an interface declaration over a type literal (type T = { ... }
)
Rationale
Interfaces are generally preferred over type literals because interfaces can be implemented, extended and merged.
Notes:
TS Only
Has Fixer
Config
Not configurable.
Config examples
"interface-over-type-literal": true
Schema
null