711b4e778b
* Indirect calls for imported functions * Fix unit tests
30 lines
735 B
TypeScript
30 lines
735 B
TypeScript
//// [tests/cases/compiler/importHelpersWithExportStarAs.ts] ////
|
|
|
|
//// [a.ts]
|
|
export class A { }
|
|
|
|
//// [b.ts]
|
|
export * as a from "./a";
|
|
|
|
//// [tslib.d.ts]
|
|
declare module "tslib" {
|
|
function __importStar(m: any): void;
|
|
}
|
|
|
|
//// [a.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.A = void 0;
|
|
class A {
|
|
}
|
|
exports.A = A;
|
|
});
|
|
//// [b.js]
|
|
define(["require", "exports", "tslib", "./a"], function (require, exports, tslib_1, a) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.a = void 0;
|
|
exports.a = (0, tslib_1.__importStar)(a);
|
|
});
|