mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
308 B
Plaintext
9 lines
308 B
Plaintext
//// [tests/cases/compiler/contextualTyping37.ts] ////
|
|
|
|
=== contextualTyping37.ts ===
|
|
var foo = <{ id: number; }[]>[{ foo: "s" }, { }];
|
|
>foo : Symbol(foo, Decl(contextualTyping37.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping37.ts, 0, 12))
|
|
>foo : Symbol(foo, Decl(contextualTyping37.ts, 0, 31))
|
|
|