no-empty-interface
Configuration
rslint.config.ts
Rule Details
Disallows empty interface declarations. An empty interface with no members is equivalent to the empty object type {}. An empty interface that extends a single interface is equivalent to a type alias of that interface. In both cases, the interface declaration adds unnecessary indirection and can be replaced with a simpler construct.
Examples of incorrect code for this rule:
Examples of correct code for this rule: