9 lines
387 B
Plaintext
9 lines
387 B
Plaintext
=== tests/cases/compiler/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))
|
|
|