Open jcfranco opened 2 years ago
This would be nice! :)
friendly ping 😁
A simpler change might be if (ar || !(i in Object(from))) {
to coerce the string to an object for use with in
. We'd also need to make this change in TypeScript before we take it for tslib
, however.
Fixes #175
This restores array spreading for the following use case:
@rbuckton @DanielRosenwasser @weswigham First time contributing to this project, so please let me know if there's something I missed.