17 lines
297 B
Text
17 lines
297 B
Text
=== tests/cases/compiler/lambdaASIEmit.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);
|
|
>127 : number
|
|
|