documentationjs / documentationjs/documentation
Module section gets weird param pulled from first function after @module tag
Open
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 481
- PR merge metrics
- No merged PRs in 30d
Description
This code:
```
/**
* module description
* @module util
* @public
*/
// jsdoc freaks out and pulls param from the next function
// unless this useless variable is defined (uncommented)
// let a;
/**
* fn description
* @param {object} obj - my object
* @returns {object} my return value
* @memberof util
* @public
*/
function convertBuffers(obj) { }
module.exports = { convertBuffers}
```
Leads to this:

Contributor guide
Assessment
This issue has not been assessed yet.