9 lines
439 B
Text
9 lines
439 B
Text
=== tests/cases/compiler/contextualTyping19.ts ===
|
|
var foo:{id:number;}[] = [{id:1}]; foo = [{id:1}, {id:2}];
|
|
>foo : Symbol(foo, Decl(contextualTyping19.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping19.ts, 0, 9))
|
|
>id : Symbol(id, Decl(contextualTyping19.ts, 0, 27))
|
|
>foo : Symbol(foo, Decl(contextualTyping19.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping19.ts, 0, 43))
|
|
>id : Symbol(id, Decl(contextualTyping19.ts, 0, 51))
|
|
|