diff --git a/tslib.d.ts b/tslib.d.ts index 57ad995..9e43edc 100644 --- a/tslib.d.ts +++ b/tslib.d.ts @@ -20,7 +20,7 @@ export declare function __param(paramIndex: number, decorator: Function): Functi export declare function __metadata(metadataKey: any, metadataValue: any): Function; export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; export declare function __generator(thisArg: any, body: Function): any; -export declare function __exportStar(m: any, exports: any): void; +export declare function __exportStar(m: any, o: any): void; export declare function __values(o: any): any; export declare function __read(o: any, n?: number): any[]; export declare function __spread(...args: any[][]): any[]; diff --git a/tslib.es6.js b/tslib.es6.js index cf5b457..c60aa60 100644 --- a/tslib.es6.js +++ b/tslib.es6.js @@ -111,8 +111,8 @@ export var __createBinding = Object.create ? (function(o, m, k, k2) { o[k2] = m[k]; }); -export function __exportStar(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +export function __exportStar(m, o) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); } export function __values(o) { diff --git a/tslib.js b/tslib.js index bbc1132..fcf619a 100644 --- a/tslib.js +++ b/tslib.js @@ -143,8 +143,8 @@ var __createBinding; } }; - __exportStar = function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + __exportStar = function(m, o) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); }; __createBinding = Object.create ? (function(o, m, k, k2) {