8 lines
386 B
Text
8 lines
386 B
Text
=== tests/cases/compiler/contextualTyping4.ts ===
|
|
class foo { public bar:{id:number;} = {id:5, name:"foo"}; }
|
|
>foo : Symbol(foo, Decl(contextualTyping4.ts, 0, 0))
|
|
>bar : Symbol(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))
|
|
|