How to get class for 'required' package in node.js

25 views
Skip to first unread message

Ahmed Anas

unread,
Jun 17, 2017, 8:18:06 PM6/17/17
to JSDoc Users
Hey,
I'm fairly new to jsDoc. I'm wondering how I would get the module and/or class of a package I require into my node app (assuming that package also uses jsDoc)?

i.e

var Sequelize = require('sequelize');

/**
 * 
 * 
 * @returns ???
 */
function getSequelize () {
        return new Sequelize(...);
    }


How do I reference the required module in the @returns

Reply all
Reply to author
Forward
0 new messages