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