mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
307 B
TypeScript
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);
|