mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-25 16:07:52 -05:00
Fix __spreadArray for non-concat-spreadables (#45386)
This commit is contained in:
@@ -647,7 +647,7 @@ namespace ts {
|
||||
ar[i] = from[i];
|
||||
}
|
||||
}
|
||||
return to.concat(ar || from);
|
||||
return to.concat(ar || Array.prototype.slice.call(from));
|
||||
};`
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user