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