TypeScript/tests/baselines/reference/declFileModuleAssignmentInObjectLiteralProperty.types
2014-08-15 14:37:48 -07:00

32 lines
575 B
Plaintext

=== tests/cases/compiler/declFileModuleAssignmentInObjectLiteralProperty.ts ===
module m1 {
>m1 : typeof m1
export class c {
>c : c
}
}
var d = {
>d : { m1: { m: typeof m1; }; m2: { c: typeof c; }; }
>{
m1: { m: m1 },
m2: { c: m1.c },
} : { m1: { m: typeof m1; }; m2: { c: typeof c; }; }
m1: { m: m1 },
>m1 : { m: typeof m1; }
>{ m: m1 } : { m: typeof m1; }
>m : typeof m1
>m1 : m1
m2: { c: m1.c },
>m2 : { c: typeof c; }
>{ c: m1.c } : { c: typeof c; }
>c : typeof c
>m1.c : typeof c
>m1 : typeof m1
>c : typeof c
};