Skip to content

Commit

Permalink
Rename exports argument in exportStar
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Jul 30, 2020
1 parent 375633b commit ab4dfef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tslib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down
4 changes: 2 additions & 2 deletions tslib.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions tslib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ab4dfef

Please sign in to comment.