Input ```ts (function a() { } as any)().foo() ``` Expected ```js (function a() { }().foo)(); ``` Actual ```js function a() { }().foo(); ``` Notice that this produces an un-parenthesized function expression. Potentially addressable by work in #18300.