TypeScript/tests/baselines/reference/lambdaASIEmit.types
2014-08-25 10:55:22 -07:00

16 lines
270 B
Text

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