Commit c3e9ad5
Arpith Siromoney
Replace spread operator with Object.assign for ES2015 compatibility
The babel-preset-es2015 used by this project doesn't support
object spread syntax, which was added in ES2018. Using Object.assign()
instead maintains the same functionality while being compatible with
the existing Babel configuration.1 parent 1fe23fc commit c3e9ad5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments