1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
//// [tests/cases/conformance/externalModules/typeOnly/chained2.ts] ////
//// [a.ts]
class A { a!: string }
export type { A as default };
//// [b.ts]
import A from './a';
import type { default as B } from './a';
export { A, B };
//// [c.ts]
import * as types from './b';
export { types as default };
//// [d.ts]
import types from './c';
new types.A();
new types.B();
const a: types.A = {};
const b: types.B = {};
//// [a.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var A = /** @class */ (function () {
function A() {
}
return A;
}());
//// [b.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//// [c.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
var types = require("./b");
exports.default = types;
//// [d.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var c_1 = require("./c");
new c_1.default.A();
new c_1.default.B();
var a = {};
var b = {};
|