2023-12-18 13:12:25 +08:00
|
|
|
# @babel/plugin-transform-parameters
|
|
|
|
|
|
|
|
> Compile ES2015 default and rest parameters to ES5
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
See our website [@babel/plugin-transform-parameters](https://babeljs.io/docs/babel-plugin-transform-parameters) for more information.
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
Using npm:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm install --save-dev @babel/plugin-transform-parameters
|
|
|
|
```
|
|
|
|
|
|
|
|
or using yarn:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
yarn add @babel/plugin-transform-parameters --dev
|
|
|
|
```
|