babel-preset-jsdoc
v0.4.1
Published
Babel preset for latest jsdoc
Downloads
12
Readme
babel-preset-jsdoc
Babel preset for latest jsdoc
Installation
npm install --save-dev babel-preset-jsdoc
Usage
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.