--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.ts --- # Input ```ts interface Foo {} ``` # Diagnostics ``` invalid.ts:1:1 lint/suspicious/noEmptyInterface FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! An empty interface is equivalent to {}. > 1 │ interface Foo {} │ ^^^^^^^^^^^^^^^^ 2 │ i Safe fix: Use a type alias instead. 1 │ - interface·Foo·{} 1 │ + type·Foo·=·{} 2 2 │ ```