Skip to content

Commit

Permalink
Improve transform-destructuring typings (#14236)
Browse files Browse the repository at this point in the history
* refactor: extract destructuring transform routines

* improve destructuring plugin typings

* refactor: replace Record<string, boolean> to set

* review comments

* apply #14240 fix

* fix: Babel should not crash when destructring arrray hole

* make node 8 happy

* refactor: extract buildObjectExcludingKeys
  • Loading branch information
JLHwung committed Mar 7, 2022
1 parent 0b29359 commit 4f80f5c
Show file tree
Hide file tree
Showing 6 changed files with 797 additions and 619 deletions.
1 change: 1 addition & 0 deletions Gulpfile.mjs
Expand Up @@ -465,6 +465,7 @@ const libBundles = [
"packages/babel-plugin-proposal-object-rest-spread",
"packages/babel-plugin-proposal-optional-chaining",
"packages/babel-preset-react",
"packages/babel-plugin-transform-destructuring",
"packages/babel-preset-typescript",
"packages/babel-helper-member-expression-to-functions",
"packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining",
Expand Down

0 comments on commit 4f80f5c

Please sign in to comment.