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