mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
432 B
Plaintext
11 lines
432 B
Plaintext
//// [tests/cases/compiler/contextualTyping14.ts] ////
|
|
|
|
=== contextualTyping14.ts ===
|
|
class foo { public bar:(a:number)=>number = function(a){return a}; }
|
|
>foo : Symbol(foo, Decl(contextualTyping14.ts, 0, 0))
|
|
>bar : Symbol(foo.bar, Decl(contextualTyping14.ts, 0, 11))
|
|
>a : Symbol(a, Decl(contextualTyping14.ts, 0, 24))
|
|
>a : Symbol(a, Decl(contextualTyping14.ts, 0, 53))
|
|
>a : Symbol(a, Decl(contextualTyping14.ts, 0, 53))
|
|
|