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