Skip to content

Commit

Permalink
Merge pull request #124 from microsoft/fix120
Browse files Browse the repository at this point in the history
Rename 'exports' argument in '__exportStar' helper
  • Loading branch information
DanielRosenwasser committed Jul 30, 2020
2 parents 375633b + ab4dfef commit 332c5f9
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
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
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
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 332c5f9

Please sign in to comment.