mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* refactor: iterate object rest elements only * refactor: use unshiftForXStatementBody * fix: handle object rest in array pattern * update tsconfig.json * improve typings * fix: declare uid identifiers when transforming array pattern within assignment
19 lines
329 B
JavaScript
19 lines
329 B
JavaScript
var _ref3;
|
|
const [a, _ref] = x,
|
|
{
|
|
b
|
|
} = _ref,
|
|
c = babelHelpers.objectWithoutProperties(_ref, ["b"]);
|
|
let [d, _ref2] = x,
|
|
{
|
|
e
|
|
} = _ref2,
|
|
f = babelHelpers.objectWithoutProperties(_ref2, ["e"]);
|
|
[g, _ref3] = x;
|
|
var _ref4 = _ref3;
|
|
({
|
|
h
|
|
} = _ref4);
|
|
i = babelHelpers.objectWithoutProperties(_ref4, ["h"]);
|
|
_ref4;
|