=== tests/cases/compiler/contextualTyping38.ts === var foo = <{ (): number; }> function(a) { return a }; >foo : () => number, Symbol(foo, Decl(contextualTyping38.ts, 0, 3)) ><{ (): number; }> function(a) { return a } : () => number >function(a) { return a } : (a: any) => any >a : any, Symbol(a, Decl(contextualTyping38.ts, 0, 37)) >a : any, Symbol(a, Decl(contextualTyping38.ts, 0, 37))