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
|
//// [tests/cases/compiler/typeofExternalModules.ts] ////
//// [typeofExternalModules_external.ts]
export class C { }
//// [typeofExternalModules_exportAssign.ts]
class D { }
export = D;
//// [typeofExternalModules_core.ts]
import ext = require('./typeofExternalModules_external');
import exp = require('./typeofExternalModules_exportAssign');
var y1: typeof ext = ext;
y1 = exp;
var y2: typeof exp = exp;
y2 = ext;
//// [typeofExternalModules_external.js]
"use strict";
exports.__esModule = true;
var C = /** @class */ (function () {
function C() {
}
return C;
}());
exports.C = C;
//// [typeofExternalModules_exportAssign.js]
"use strict";
var D = /** @class */ (function () {
function D() {
}
return D;
}());
module.exports = D;
//// [typeofExternalModules_core.js]
"use strict";
exports.__esModule = true;
var ext = require("./typeofExternalModules_external");
var exp = require("./typeofExternalModules_exportAssign");
var y1 = ext;
y1 = exp;
var y2 = exp;
y2 = ext;
|