~~ method.bracePosition: sameLine, lineWidth: 40 ~~
== should use the same line for the brace position ==
class Test {
    method()
    {
    }
}

[expect]
class Test {
    method() {
    }
}

== should use the same line for the brace position when hanging ==
class Test {
    method(): string | number | otherTextThatGoesOver
    {
    }
}

[expect]
class Test {
    method(): string | number
        | otherTextThatGoesOver {
    }
}
