Skip to content

Commit 0587b2a

Browse files
Add back 'p !== default'
1 parent ce3462e commit 0587b2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tslib.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function __createBinding(o, m, k, k2) {
109109
}
110110

111111
export function __exportStar(m, exports) {
112-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
112+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
113113
}
114114

115115
export function __values(o) {

tslib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ var __createBinding;
150150
};
151151

152152
__exportStar = function (m, exports) {
153-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
153+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
154154
};
155155

156156
__values = function (o) {

0 commit comments

Comments
 (0)