=== tests/cases/compiler/thisReferencedInFunctionInsideArrowFunction1.ts === var foo = (dummy) => { }; >foo : (dummy: any) => void >(dummy) => { } : (dummy: any) => void >dummy : any function test() >test : () => void { foo(() => >foo(() => function () { return this; } ) : void >foo : (dummy: any) => void >() => function () { return this; } : () => () => any function () { return this; } >function () { return this; } : () => any >this : any ); }