9 lines
403 B
Plaintext
9 lines
403 B
Plaintext
=== tests/cases/compiler/contextualTyping23.ts ===
|
|
var foo:(a:{():number; (i:number):number; })=>number; foo = function(a){return 5};
|
|
>foo : Symbol(foo, Decl(contextualTyping23.ts, 0, 3))
|
|
>a : Symbol(a, Decl(contextualTyping23.ts, 0, 9))
|
|
>i : Symbol(i, Decl(contextualTyping23.ts, 0, 24))
|
|
>foo : Symbol(foo, Decl(contextualTyping23.ts, 0, 3))
|
|
>a : Symbol(a, Decl(contextualTyping23.ts, 0, 69))
|
|
|