8 lines
387 B
Text
8 lines
387 B
Text
=== 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))
|
|
|