23 lines
430 B
TypeScript
23 lines
430 B
TypeScript
//// [tests/cases/compiler/cloduleSplitAcrossFiles.ts] ////
|
|
|
|
//// [cloduleSplitAcrossFiles_class.ts]
|
|
class D { }
|
|
|
|
//// [cloduleSplitAcrossFiles_module.ts]
|
|
module D {
|
|
export var y = "hi";
|
|
}
|
|
D.y;
|
|
|
|
//// [cloduleSplitAcrossFiles_class.js]
|
|
var D = (function () {
|
|
function D() {
|
|
}
|
|
return D;
|
|
})();
|
|
//// [cloduleSplitAcrossFiles_module.js]
|
|
var D;
|
|
(function (D) {
|
|
D.y = "hi";
|
|
})(D || (D = {}));
|
|
D.y;
|