mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
296 B
Plaintext
9 lines
296 B
Plaintext
//// [tests/cases/compiler/contextualTyping8.ts] ////
|
|
|
|
=== 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))
|
|
|