mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Fix: Throw when super in arrow with default / rest * Add allowInsertArrowWithRest and improve throw * Update packages/babel-traverse/src/path/conversion.ts Co-authored-by: Huáng Jùnliàng <[email protected]> Co-authored-by: Huáng Jùnliàng <[email protected]>
5 lines
304 B
JSON
5 lines
304 B
JSON
{
|
|
"plugins": ["transform-parameters"],
|
|
"throws": "When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration."
|
|
}
|