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