~~ lineWidth: 40 ~~
== should format ==
type T = string  [  ]  ;

[expect]
type T = string[];

== should prefer to keep it together ==
type Test = test | (string | number | other)[ ];

[expect]
type Test = test
    | (string | number | other)[];
