TypeScript/tests/baselines/reference/commentOnSimpleArrowFunctionBody1.types
2014-08-15 14:37:48 -07:00

20 lines
304 B
Plaintext

=== tests/cases/compiler/commentOnSimpleArrowFunctionBody1.ts ===
function Foo(x: any)
>Foo : (x: any) => void
>x : any
{
}
Foo(() =>
>Foo(() =>
// do something
127) : void
>Foo : (x: any) => void
>() =>
// do something
127 : () => number
// do something
127);