We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa9ada commit 50d570bCopy full SHA for 50d570b
src/compiler/emitter.ts
@@ -347,9 +347,10 @@ var __extends = (this && this.__extends) || function (d, b) {
347
348
const assignHelper = `
349
var __assign = (this && this.__assign) || Object.assign || function(t) {
350
- for (var i = 1; i < arguments.length; i++) {
351
- var s = arguments[i];
352
- for (var p in s) if (s.hasOwnProperty(p)) t[p] = s[p];
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
+ s = arguments[i];
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
353
+ t[p] = s[p];
354
}
355
return t;
356
};`;
0 commit comments