9 lines
224 B
Text
9 lines
224 B
Text
|
=== tests/cases/compiler/contextualTyping13.ts ===
|
||
|
var foo:(a:number)=>number = function(a){return a};
|
||
|
>foo : (a: number) => number
|
||
|
>a : number
|
||
|
>function(a){return a} : (a: number) => number
|
||
|
>a : number
|
||
|
>a : number
|
||
|
|