multiple exports jsdoc code example
Example: js module.exports documentation comments
module.js
---------
/**
* This comment will work :)
*/
function main(){
/**
* This comment won't work :(
*/
}
module.exports = main;
__________________________________________________
another.js
----------
const main = require('./module.js');
main(); // This will show the comment when hover