TypeScript/tests/baselines/reference/importHelpersWithExportStarAs(esmoduleinterop=true,module=amd).js
Ron Buckton 711b4e778b
Indirect calls for imported functions (#44624)
* Indirect calls for imported functions

* Fix unit tests
2021-06-21 19:51:13 -07:00

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);
});