-- file.tsx --
~~ lineWidth: 50 ~~
== should format when it has type arguments and no attributes ==
const t = >;
[expect]
const t = >;
== should format when it has type args and attributes ==
const t = attrib={5}>;
[expect]
const t = (
attrib={5}>
);
== should format when it has type args and it's self closing ==
const t = />;
[expect]
const t = />;
== should format when it has type args and is multi-line ==
const t = ( />);
[expect]
const t = (
/>
);