--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: ts/declaration/interface.ts --- # Input ```ts interface A {} interface B extends A /** comment **/ { something: string } interface C extends B { something: string } // @ts-ignore interface D extends B, F, G, H { something1: string, something2: string, something3: string, something4: string, something5: string, } // @ts-ignore interface D extends B, F { } interface Wrong { aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; ppppppp: ppppppp } f(() => { interface Wrong { aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; ppppppp: ppppppp } }); x.y(() => { interface Wrong { a: { b: string; }; p: { q: string; }; } }); ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```ts interface A {} interface B extends A /** comment **/ { something: string; } interface C< Foo, Bar, Loreum, Ipsum, ItShouldBeLongEnoughToCoverSomeEdgeCases, But, Maybe, Not, > extends B { something: string; } // @ts-ignore interface D extends B, F, G, H { something1: string; something2: string; something3: string; something4: string; something5: string; } // @ts-ignore interface D extends B, F {} interface Wrong { aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; ppppppp: ppppppp; } f(() => { interface Wrong { aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa; ppppppp: ppppppp; } }); x.y(() => { interface Wrong { a: { b: string; }; p: { q: string; }; } }); ```