1 2 3 4 5 6 7 8 9 10
|
=== tests/cases/compiler/contextualTyping22.ts ===
var foo:(a:number)=>number = function(a){return a}; foo = function(b){return b};
>foo : Symbol(foo, Decl(contextualTyping22.ts, 0, 3))
>a : Symbol(a, Decl(contextualTyping22.ts, 0, 9))
>a : Symbol(a, Decl(contextualTyping22.ts, 0, 38))
>a : Symbol(a, Decl(contextualTyping22.ts, 0, 38))
>foo : Symbol(foo, Decl(contextualTyping22.ts, 0, 3))
>b : Symbol(b, Decl(contextualTyping22.ts, 0, 67))
>b : Symbol(b, Decl(contextualTyping22.ts, 0, 67))
|