babel/packages/babel-plugin-proposal-object-rest-spread
Kagami Sascha Rosylight 3ae5e79ec8 Differentiate object spread and non-spread properties (#9341)
* add isSpread field

* use argument

* t.booleanLiteral

* fix typo

* push empty-argument object

* .object

* .value

* object field should be an expression

* lint

* update outputs

* isSpread for the second argument is redundant

* add test

* alternating spread
2019-01-21 22:04:47 +01:00
..
2018-12-03 20:00:35 +01:00

@babel/plugin-proposal-object-rest-spread

Compile object rest and spread to ES5

See our website @babel/plugin-proposal-object-rest-spread for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-proposal-object-rest-spread

or using yarn:

yarn add @babel/plugin-proposal-object-rest-spread --dev