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