10 lines
458 B
Plaintext
10 lines
458 B
Plaintext
|
=== 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))
|
||
|
|