0.4.1 • Published 8 years ago
babel-preset-jsdoc v0.4.1
babel-preset-jsdoc 
Babel preset for latest jsdoc
Installation
npm install --save-dev babel-preset-jsdocUsage
Add the following line to your .babelrc file:
{
  "presets": ["jsdoc", "jsdoc/object-rest"]
}Presets
- jsdoc
- jsdoc/object-rest add if you need object-rest (stage 2) https://phabricator.babeljs.io/T7086
Note: to support async functions and other proposals, you can add babel preset stage-1 or the stage you want.