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
20 lines
386 B
JavaScript
20 lines
386 B
JavaScript
const [a, [_ref], _ref2, [_ref3, {
|
|
h: [i, _ref4]
|
|
}]] = x,
|
|
{
|
|
b
|
|
} = _ref,
|
|
c = babelHelpers.objectWithoutProperties(_ref, ["b"]),
|
|
{
|
|
d
|
|
} = _ref2,
|
|
e = babelHelpers.objectWithoutProperties(_ref2, ["d"]),
|
|
{
|
|
f
|
|
} = _ref3,
|
|
g = babelHelpers.objectWithoutProperties(_ref3, ["f"]),
|
|
{
|
|
j
|
|
} = _ref4,
|
|
k = babelHelpers.objectWithoutProperties(_ref4, ["j"]);
|