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

20 lines
307 B
TypeScript

//// [tests/cases/compiler/commentOnSimpleArrowFunctionBody1.ts] ////
//// [commentOnSimpleArrowFunctionBody1.ts]
function Foo(x: any)
{
}
Foo(() =>
// do something
127);
//// [commentOnSimpleArrowFunctionBody1.js]
"use strict";
function Foo(x) {
}
Foo(() =>
// do something
127);