You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes in RequireJS modules I define a local variable in the same statement that exports a function. This appears to confuse JSDoc as it does not recognize the exported symbol as being exported.
But in general the doc comment must appear immediately before the thing it documents (unless you provide a @name and then it can appear anywhere you please).
I'm closing this since there is already two ways to do what the poster asks: use @name or split the assignment on two lines so the comment appears immediately before the thing being documented. This is already working as designed.
Sometimes in RequireJS modules I define a local variable in the same statement that exports a function. This appears to confuse JSDoc as it does not recognize the exported symbol as being exported.
File1
JSDoc cannot resolve the reference to
module:file1.someObject
in the@augments
tag inFile 2
This is not a critical, or truly breaking issue since the same thing can be accomplished via
But it would be nice if at some point it was supported.
The text was updated successfully, but these errors were encountered: