In my file lib/server.js
I have the following code:
/**
* My Test Server
*
* @typedef {Object} My.Server
* @prop {String} name
*/
function Server() {
this.name = 'zever';
}
When I reference this @typedef
in the same file, it works:
However, when I use the @typedef
in another file in the same project, I get nothing:
(And yes, I tried the jsdoc on a single line, too)
What is going wrong here?