6 lines
260 B
Text
6 lines
260 B
Text
=== tests/cases/compiler/contextualTyping7.ts ===
|
|
var foo:{id:number;}[] = [<{id:number;}>({})];
|
|
>foo : Symbol(foo, Decl(contextualTyping7.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping7.ts, 0, 9))
|
|
>id : Symbol(id, Decl(contextualTyping7.ts, 0, 28))
|
|
|