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