17 lines
503 B
Plaintext
17 lines
503 B
Plaintext
=== tests/cases/compiler/commentOnSimpleArrowFunctionBody1.ts ===
|
|
function Foo(x: any)
|
|
>Foo : (x: any) => void, Symbol(Foo, Decl(commentOnSimpleArrowFunctionBody1.ts, 0, 0))
|
|
>x : any, Symbol(x, Decl(commentOnSimpleArrowFunctionBody1.ts, 0, 13))
|
|
{
|
|
}
|
|
|
|
Foo(() =>
|
|
>Foo(() => // do something 127) : void
|
|
>Foo : (x: any) => void, Symbol(Foo, Decl(commentOnSimpleArrowFunctionBody1.ts, 0, 0))
|
|
>() => // do something 127 : () => number
|
|
|
|
// do something
|
|
127);
|
|
>127 : number
|
|
|