~~ lineWidth: 40 ~~
== should format ==
interface T {
    [index: number]: string;
    [index: number]: string | number | boolean;
    readonly [index]: string;
}

class Test {
    static readonly [index]: number;
}

[expect]
interface T {
    [index: number]: string;
    [index: number]:
        | string
        | number
        | boolean;
    readonly [index]: string;
}

class Test {
    static readonly [index]: number;
}
