Skip to content

VBC-909: empty-interface-ts ​

warning

Category: clean-code
Analysis: AST
Tags: clean-code typescript

What it reports ​

Empty interface detected. If intentional, add a comment; otherwise, remove it.

Flagged ​

ts
interface Options {}

Not flagged ​

ts
interface Options extends BaseOptions {}
ts
interface Options { retries: number; }

AST check ​

  • Type: empty-interface

Released under the MIT License.