2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/contextualTyping3.ts ===
|
|
|
|
class foo { public bar:{id:number;} = {id:5}; }
|
2015-04-13 22:54:22 +02:00
|
|
|
>foo : foo, Symbol(foo,Decl(contextualTyping3.ts,0,0))
|
|
|
|
>bar : { id: number; }, Symbol(bar,Decl(contextualTyping3.ts,0,11))
|
|
|
|
>id : number, Symbol(id,Decl(contextualTyping3.ts,0,24))
|
2014-08-15 23:33:16 +02:00
|
|
|
>{id:5} : { id: number; }
|
2015-04-13 22:54:22 +02:00
|
|
|
>id : number, Symbol(id,Decl(contextualTyping3.ts,0,39))
|
2015-04-13 21:36:11 +02:00
|
|
|
>5 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|