TypeScript/tests/baselines/reference/declFileModuleAssignmentInObjectLiteralProperty.types

29 lines
600 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileModuleAssignmentInObjectLiteralProperty.ts ===
module m1 {
2014-08-28 21:40:58 +02:00
>m1 : typeof m1
2014-08-15 23:33:16 +02:00
export class c {
>c : c
}
}
var d = {
2014-08-25 19:36:12 +02:00
>d : { m1: { m: typeof m1; }; m2: { c: typeof m1.c; }; }
>{ m1: { m: m1 }, m2: { c: m1.c },} : { m1: { m: typeof m1; }; m2: { c: typeof m1.c; }; }
2014-08-15 23:33:16 +02:00
m1: { m: m1 },
>m1 : { m: typeof m1; }
>{ m: m1 } : { m: typeof m1; }
>m : typeof m1
2014-08-25 19:36:12 +02:00
>m1 : typeof m1
2014-08-15 23:33:16 +02:00
m2: { c: m1.c },
2014-08-25 19:36:12 +02:00
>m2 : { c: typeof m1.c; }
>{ c: m1.c } : { c: typeof m1.c; }
>c : typeof m1.c
>m1.c : typeof m1.c
2014-08-15 23:33:16 +02:00
>m1 : typeof m1
2014-08-25 19:36:12 +02:00
>c : typeof m1.c
2014-08-15 23:33:16 +02:00
};