=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturing.ts === var f1 = () => { >f1 : () => void >() => { this.age = 10} : () => void this.age = 10 >this.age = 10 : number >this.age : any >this : any >age : any }; var f2 = (x: string) => { >f2 : (x: string) => void >(x: string) => { this.name = x} : (x: string) => void >x : string this.name = x >this.name = x : string >this.name : any >this : any >name : any >x : string } function foo(func: () => boolean) { } >foo : (func: () => boolean) => void >func : () => boolean foo(() => { >foo(() => { this.age = 100; return true;}) : void >foo : (func: () => boolean) => void >() => { this.age = 100; return true;} : () => boolean this.age = 100; >this.age = 100 : number >this.age : any >this : any >age : any return true; });