TypeScript/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js

25 lines
432 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.ts]
class A {
aProp: string;
}
module A {
export interface X { s: string }
}
module B {
var A = 1;
import Y = A;
}
//// [internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js]
var A = (function () {
function A() {
}
return A;
})();
var B;
(function (B) {
var A = 1;
})(B || (B = {}));