TypeScript/tests/baselines/reference/objectLiteralShorthandPropertiesWithModule.types

32 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-11-15 00:44:06 +01:00
=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModule.ts ===
2014-11-11 20:31:45 +01:00
// module export
module m {
2015-04-13 23:01:57 +02:00
>m : typeof m, Symbol(m, Decl(objectLiteralShorthandPropertiesWithModule.ts, 0, 0), Decl(objectLiteralShorthandPropertiesWithModule.ts, 4, 1))
2014-11-11 20:31:45 +01:00
export var x;
2015-04-13 23:01:57 +02:00
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 3, 14))
2014-11-11 20:31:45 +01:00
}
module m {
2015-04-13 23:01:57 +02:00
>m : typeof m, Symbol(m, Decl(objectLiteralShorthandPropertiesWithModule.ts, 0, 0), Decl(objectLiteralShorthandPropertiesWithModule.ts, 4, 1))
2014-11-11 20:31:45 +01:00
var z = x;
2015-04-13 23:01:57 +02:00
>z : any, Symbol(z, Decl(objectLiteralShorthandPropertiesWithModule.ts, 7, 7))
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 3, 14))
2014-11-11 20:31:45 +01:00
var y = {
2015-04-13 23:01:57 +02:00
>y : { a: any; x: any; }, Symbol(y, Decl(objectLiteralShorthandPropertiesWithModule.ts, 8, 7))
2014-11-11 20:31:45 +01:00
>{ a: x, x } : { a: any; x: any; }
a: x,
2015-04-13 23:01:57 +02:00
>a : any, Symbol(a, Decl(objectLiteralShorthandPropertiesWithModule.ts, 8, 13))
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 3, 14))
2014-11-11 20:31:45 +01:00
x
2015-04-13 23:01:57 +02:00
>x : any, Symbol(x, Decl(objectLiteralShorthandPropertiesWithModule.ts, 9, 13))
2014-11-11 20:31:45 +01:00
};
}