mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
39 lines
688 B
TypeScript
39 lines
688 B
TypeScript
//// [tests/cases/compiler/declFileModuleContinuation.ts] ////
|
|
|
|
//// [declFileModuleContinuation.ts]
|
|
namespace A.C {
|
|
export interface Z {
|
|
}
|
|
}
|
|
|
|
namespace A.B.C {
|
|
export class W implements A.C.Z {
|
|
}
|
|
}
|
|
|
|
//// [declFileModuleContinuation.js]
|
|
"use strict";
|
|
var A;
|
|
(function (A) {
|
|
var B;
|
|
(function (B) {
|
|
var C;
|
|
(function (C) {
|
|
class W {
|
|
}
|
|
C.W = W;
|
|
})(C = B.C || (B.C = {}));
|
|
})(B = A.B || (A.B = {}));
|
|
})(A || (A = {}));
|
|
|
|
|
|
//// [declFileModuleContinuation.d.ts]
|
|
declare namespace A.C {
|
|
interface Z {
|
|
}
|
|
}
|
|
declare namespace A.B.C {
|
|
class W implements A.C.Z {
|
|
}
|
|
}
|