Files
tsgo/testdata/baselines/reference/submodule/compiler/castFunctionExpressionShouldBeParenthesized.js

9 lines
274 B
TypeScript

//// [tests/cases/compiler/castFunctionExpressionShouldBeParenthesized.ts] ////
//// [castFunctionExpressionShouldBeParenthesized.ts]
(function a() { } as any)().foo()
//// [castFunctionExpressionShouldBeParenthesized.js]
"use strict";
(function a() { }().foo());