8 lines
378 B
Text
8 lines
378 B
Text
=== tests/cases/compiler/contextualTyping9.ts ===
|
|
var foo:{id:number;}[] = [{id:1}, {id:2, name:"foo"}];
|
|
>foo : Symbol(foo, Decl(contextualTyping9.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping9.ts, 0, 9))
|
|
>id : Symbol(id, Decl(contextualTyping9.ts, 0, 27))
|
|
>id : Symbol(id, Decl(contextualTyping9.ts, 0, 35))
|
|
>name : Symbol(name, Decl(contextualTyping9.ts, 0, 40))
|
|
|