mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
40 lines
708 B
TypeScript
40 lines
708 B
TypeScript
//// [tests/cases/compiler/declFileImportChainInExportAssignment.ts] ////
|
|
|
|
//// [declFileImportChainInExportAssignment.ts]
|
|
namespace m {
|
|
export namespace c {
|
|
export class c {
|
|
}
|
|
}
|
|
}
|
|
import a = m.c;
|
|
import b = a;
|
|
export = b;
|
|
|
|
//// [declFileImportChainInExportAssignment.js]
|
|
"use strict";
|
|
var m;
|
|
(function (m) {
|
|
let c;
|
|
(function (c_1) {
|
|
class c {
|
|
}
|
|
c_1.c = c;
|
|
})(c = m.c || (m.c = {}));
|
|
})(m || (m = {}));
|
|
var a = m.c;
|
|
var b = a;
|
|
module.exports = b;
|
|
|
|
|
|
//// [declFileImportChainInExportAssignment.d.ts]
|
|
declare namespace m {
|
|
namespace c {
|
|
class c {
|
|
}
|
|
}
|
|
}
|
|
import a = m.c;
|
|
import b = a;
|
|
export = b;
|