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