38 lines
711 B
TypeScript
38 lines
711 B
TypeScript
//// [declarationEmitImportInExportAssignmentModule.ts]
|
|
|
|
module m {
|
|
export module c {
|
|
export class c {
|
|
}
|
|
}
|
|
import x = c;
|
|
export var a: typeof x;
|
|
}
|
|
export = m;
|
|
|
|
//// [declarationEmitImportInExportAssignmentModule.js]
|
|
var m;
|
|
(function (m) {
|
|
var c;
|
|
(function (c_1) {
|
|
var c = (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
})();
|
|
c_1.c = c;
|
|
})(c = m.c || (m.c = {}));
|
|
})(m || (m = {}));
|
|
module.exports = m;
|
|
|
|
|
|
//// [declarationEmitImportInExportAssignmentModule.d.ts]
|
|
declare module m {
|
|
module c {
|
|
class c {
|
|
}
|
|
}
|
|
import x = c;
|
|
var a: typeof x;
|
|
}
|
|
export = m;
|