2014-11-15 00:44:06 +01:00
|
|
|
//// [objectLiteralShorthandPropertiesWithModule.ts]
|
2014-11-11 20:31:45 +01:00
|
|
|
// module export
|
|
|
|
|
|
|
|
module m {
|
|
|
|
export var x;
|
|
|
|
}
|
|
|
|
|
|
|
|
module m {
|
|
|
|
var z = x;
|
|
|
|
var y = {
|
|
|
|
a: x,
|
|
|
|
x
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-11-15 00:44:06 +01:00
|
|
|
//// [objectLiteralShorthandPropertiesWithModule.js]
|
2014-11-11 20:31:45 +01:00
|
|
|
// module export
|
|
|
|
var m;
|
|
|
|
(function (m) {
|
|
|
|
m.x;
|
|
|
|
})(m || (m = {}));
|
|
|
|
var m;
|
|
|
|
(function (m) {
|
|
|
|
var z = m.x;
|
|
|
|
var y = {
|
|
|
|
a: m.x,
|
2014-11-13 21:02:13 +01:00
|
|
|
x: m.x
|
2014-11-11 20:31:45 +01:00
|
|
|
};
|
|
|
|
})(m || (m = {}));
|