Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jun 18, 2018
1 parent a2cffac commit 35388e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/common/babelHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BabelHelper {
* Adds a preset or a list of them to a Babel configuration. If the `presets` option doesn't
* exist, the method will create it.
* @param {Object} configuration The configuration to update.
* @param {string|Array} plugin A plugin name or configuration `Array` (`[name, options]`),
* @param {string|Array} preset A plugin name or configuration `Array` (`[name, options]`),
* or a list of them.
* @return {Object} The updated configuration.
*/
Expand Down Expand Up @@ -148,6 +148,8 @@ class BabelHelper {
* @param {Object} configuration The configuration to update.
* @param {string|Array} item An item name or configuration `Array` (`[name, options]`),
* or a list of them.
* @param {string} property The name of the items property (like `plugins` or
* `presets`).
* @return {Object} The updated configuration.
* @access protected
* @ignore
Expand Down

0 comments on commit 35388e9

Please sign in to comment.