13 lines
268 B
Text
13 lines
268 B
Text
=== tests/cases/compiler/topLevelLambda2.ts ===
|
|
function foo(x:any) {}
|
|
>foo : (x: any) => void
|
|
>x : any
|
|
|
|
foo(()=>this.window);
|
|
>foo(()=>this.window) : void
|
|
>foo : (x: any) => void
|
|
>()=>this.window : () => any
|
|
>this.window : any
|
|
>this : any
|
|
>window : any
|
|
|