~~ parameters.preferHanging: always, lineWidth: 50 ~~
== should format the return type on the same line when the rest of the header is hanging ==
const obj = {
    method(param: string, otherTestinginging: string): test | other {
    }
}

[expect]
const obj = {
    method(param: string,
        otherTestinginging: string): test | other
    {
    },
};

== should format the return type on a new line when it's hanging and the rest of the header is hanging ==
const obj = {
    method(param: string, otherTestinginging: string): test | other | testing {
    }
}

[expect]
const obj = {
    method(param: string,
        otherTestinginging: string
    ): test | other | testing {
    },
};
