New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when a typedef is inside a module, return types stop linking to the type definition #969
Comments
This is not exactly obvious, but a typedef inside a module has /**
* @returns {module:my/module~MyType} the return type
*/
Func.prototype.myfunc = function() {}; If you prefer, you can add a |
Alternatively you can just mark the inner typedef as This is irritating though - if inner typedefs are listed in the JSDoc documentation page for a module, what reasonable rationale is there for not linking to that typedef definition when it's used in JSDoc comments in that same module? |
BTW all people affected by this, probably upvote #1533. |
In the following example, when jsdoc is generated (with the default template and docstrap) there is no link from the return type to MyType.
If I remove the module definition at the start it fixes it.
I've tried prefixing MyType with the module and it doesn't help.
The text was updated successfully, but these errors were encountered: