Defined a class as per How to document ECMA6 classes with JSDoc? :
/**
* Class representing some action
*/
class someActionClass {}
Now how should I define its instance? Could it be as below:
/**
* <WHAT GOES HERE?>
*/
someAction = new someActionClass();
Variable type can be specified with @type
tag:
/**
* @type {someActionClass}
*/
var someAction = new someActionClass();