7 lines
339 B
Text
7 lines
339 B
Text
=== tests/cases/compiler/contextualTyping36.ts ===
|
|
var foo = <{ id: number; }[]>[{ id: 4 }, <{ id: number; }>({ })];
|
|
>foo : Symbol(foo, Decl(contextualTyping36.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping36.ts, 0, 12))
|
|
>id : Symbol(id, Decl(contextualTyping36.ts, 0, 31))
|
|
>id : Symbol(id, Decl(contextualTyping36.ts, 0, 43))
|
|
|