jsdoc: Class description not work with `export`
When I describe an export class
nothing generates
When I cut the export
It works fine
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
- handle exported ES2015 classes correctly (#1137) — committed to jsdoc/jsdoc by hegemonic 8 years ago
- handle exported ES2015 classes correctly (#1137) — committed to jsdoc/jsdoc by hegemonic 8 years ago
- fix #3061 with a hack until jsdoc3/jsdoc#1137 is fixed — committed to pixijs/pixijs by englercj 8 years ago
- Upgraded all dependencies (except jsdoc: https://github.com/jsdoc3/jsdoc/issues/1137) — committed to ddolcimascolo/jmap-client by deleted user 7 years ago
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 abeforeParse
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.