9 lines
458 B
Text
9 lines
458 B
Text
=== tests/cases/compiler/contextualTyping12.ts ===
|
|
class foo { public bar:{id:number;}[] = [{id:1}, {id:2, name:"foo"}]; }
|
|
>foo : Symbol(foo, Decl(contextualTyping12.ts, 0, 0))
|
|
>bar : Symbol(bar, Decl(contextualTyping12.ts, 0, 11))
|
|
>id : Symbol(id, Decl(contextualTyping12.ts, 0, 24))
|
|
>id : Symbol(id, Decl(contextualTyping12.ts, 0, 42))
|
|
>id : Symbol(id, Decl(contextualTyping12.ts, 0, 50))
|
|
>name : Symbol(name, Decl(contextualTyping12.ts, 0, 55))
|
|
|