7 lines
323 B
Text
7 lines
323 B
Text
=== tests/cases/compiler/contextualTyping35.ts ===
|
|
var foo = <{ id: number;}> {id:4, name: "as"};
|
|
>foo : Symbol(foo, Decl(contextualTyping35.ts, 0, 3))
|
|
>id : Symbol(id, Decl(contextualTyping35.ts, 0, 12))
|
|
>id : Symbol(id, Decl(contextualTyping35.ts, 0, 28))
|
|
>name : Symbol(name, Decl(contextualTyping35.ts, 0, 33))
|
|
|