// in some file
/**
* @typedef myspace
* @property {Object} models
* @property {Object} services
*/
// in other files
/** @typedef myspace.models.ModelA */
class ModelA { ... }
/** @typedef myspace.models.ModelB */
class ModelB { ... }
/** @typedef myspace.services.ServiceA */
class ServiceA { ... }
How to define classes with JSDoc if I want to make them as members of the namespaces myspace.models
and myspace.services
?
You need using @namespace and @memberOf, I believe