TypeScript/tests/baselines/reference/objectLiteralShorthandPropertiesWithModule.types
2015-04-13 14:29:37 -07:00

32 lines
1.2 KiB
Plaintext

=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModule.ts ===
// module export
module m {
>m : typeof m, Symbol(m, Decl(objectLiteralShorthandPropertiesWithModule.ts, 0, 0), Decl(objectLiteralShorthandPropertiesWithModule.ts, 4, 1))
export var x;
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 3, 14))
}
module m {
>m : typeof m, Symbol(m, Decl(objectLiteralShorthandPropertiesWithModule.ts, 0, 0), Decl(objectLiteralShorthandPropertiesWithModule.ts, 4, 1))
var z = x;
>z : any, Symbol(z, Decl(objectLiteralShorthandPropertiesWithModule.ts, 7, 7))
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 3, 14))
var y = {
>y : { a: any; x: any; }, Symbol(y, Decl(objectLiteralShorthandPropertiesWithModule.ts, 8, 7))
>{ a: x, x } : { a: any; x: any; }
a: x,
>a : any, Symbol(a, Decl(objectLiteralShorthandPropertiesWithModule.ts, 8, 13))
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 3, 14))
x
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 9, 13))
};
}