Files
tsgo/testdata/baselines/reference/submodule/conformance/nestedNamespace.js

26 lines
552 B
TypeScript

//// [tests/cases/conformance/externalModules/typeOnly/nestedNamespace.ts] ////
//// [a.ts]
export namespace types {
export class A {}
}
//// [b.ts]
import type * as a from './a';
interface B extends a.types.A {}
//// [a.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.types = void 0;
var types;
(function (types) {
class A {
}
types.A = A;
})(types || (exports.types = types = {}));
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });