jsdoc: Class description not work with `export`

When I describe an export class

image

nothing generates

image

When I cut the export

image

It works fine

image

How can I solve this problem?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

This is closed, but is still broken in v3.4.2. Without the hack mentioned in https://github.com/jsdoc3/jsdoc/issues/1137#issuecomment-174829004 it still is incorrect.

Here is what we are using in pixi to work around this issue, but this should be reopened because it is still active: https://github.com/pixijs/pixi.js/blob/dev/scripts/jsdoc-fix.js

Is it going to be reopened? JSDoc 3.4.3 (Thu, 10 Nov 2016 00:25:10 GMT) is still affected.

update: workaround: @function module:electron-updater/out/AppUpdater.AppUpdater#getFeedURL for methods. i.e. specify full name path.

Fixed on master and releases/3.4. The fix will be included in JSDoc 3.4.2.

@gocreating @rozzzly

I got export default class App working too… by cheating with a beforeParse event hook using a dirty regex search/replace on the source code.

I got pretty close to solving it in a cleaner way using the visitNode hook, maybe it should be fixed via PR though.