Conversation
|
@mhegazy do you know who is best to look at this? |
tslib.js
Outdated
| for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && !e.indexOf(p)) | ||
| t[p] = s[p]; | ||
| return t; | ||
| };; |
There was a problem hiding this comment.
You do not need the 'this' check here.
tslib.js
Outdated
| for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && !e.indexOf(p)) | ||
| t[p] = s[p]; | ||
| return t; | ||
| };; |
There was a problem hiding this comment.
You do not need the 'this' check here.
tslib.js
Outdated
|
|
||
| __rest = (this && this.__rest) || function (s, e) { | ||
| var t = {}; | ||
| for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && !e.indexOf(p)) |
There was a problem hiding this comment.
This skips over enumerable Symbol keys (but this probably should be a bug against TypeScript instead)
There was a problem hiding this comment.
Would the fix be getOwnPropertyDescriptors? I don't know that much about Symbol keys.
I don't think this PR is the place to fix it regardless, because __extends and __assign already use for .. in.
|
This doesn't update the |
1. Clean up __rest definition 2. Add __rest to tslib.es6.js
|
|
|
Done, @alitaheri thanks for the reminder. |
|
Any Updates on this? Feels like everything is in order. ❤️ |
No description provided.