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