mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
440 B
Plaintext
11 lines
440 B
Plaintext
//// [tests/cases/compiler/contextualTyping23.ts] ////
|
|
|
|
=== 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))
|
|
|