mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
481 B
Plaintext
12 lines
481 B
Plaintext
//// [tests/cases/compiler/contextualTyping17.ts] ////
|
|
|
|
=== contextualTyping17.ts ===
|
|
var foo: {id:number;} = {id:4}; foo = {id: 5, name:"foo"};
|
|
>foo : Symbol(foo, Decl(contextualTyping17.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping17.ts, 0, 10))
|
|
>id : Symbol(id, Decl(contextualTyping17.ts, 0, 25))
|
|
>foo : Symbol(foo, Decl(contextualTyping17.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping17.ts, 0, 39))
|
|
>name : Symbol(name, Decl(contextualTyping17.ts, 0, 45))
|
|
|