8 lines
400 B
Text
8 lines
400 B
Text
=== tests/cases/compiler/contextualTyping13.ts ===
|
|
var foo:(a:number)=>number = function(a){return a};
|
|
>foo : (a: number) => number, Symbol(foo,Decl(contextualTyping13.ts,0,3))
|
|
>a : number, Symbol(a,Decl(contextualTyping13.ts,0,9))
|
|
>function(a){return a} : (a: number) => number
|
|
>a : number, Symbol(a,Decl(contextualTyping13.ts,0,38))
|
|
>a : number, Symbol(a,Decl(contextualTyping13.ts,0,38))
|
|
|