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