mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
424 B
Plaintext
11 lines
424 B
Plaintext
//// [tests/cases/compiler/contextualTyping18.ts] ////
|
|
|
|
=== contextualTyping18.ts ===
|
|
var foo: {id:number;} = <{id:number;}>({ }); foo = {id: 5};
|
|
>foo : Symbol(foo, Decl(contextualTyping18.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping18.ts, 0, 10))
|
|
>id : Symbol(id, Decl(contextualTyping18.ts, 0, 26))
|
|
>foo : Symbol(foo, Decl(contextualTyping18.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping18.ts, 0, 52))
|
|
|