Closed cesarandreu closed 8 years ago
With the following code:
function fn ({ a, ...b }: Object): Object { return { a, b } }
It'll leave the object spread as-is, so when webpack processes it, it'll throw an error: Unexpected token ....
Unexpected token ...
With the following code:
It'll leave the object spread as-is, so when webpack processes it, it'll throw an error:
Unexpected token ...
.