Skip to content
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

export default class shows up as exports() #1464

Open
andyjansson opened this issue Oct 23, 2017 · 2 comments
Open

export default class shows up as exports() #1464

andyjansson opened this issue Oct 23, 2017 · 2 comments

Comments

@andyjansson
Copy link

/**
 * @abstract
 */
export default class Foo {

}

shows up as:

(abstract) exports()

Whereas:

/**
 * @abstract
 */
class Foo {

}

export default Foo;

correctly produces:

(abstract) Foo()
Software Version
JSDoc 3.5.5
Node.js 7.10.0
npm 4.2.0
Operating system Windows 10
@ProLoser
Copy link

ProLoser commented Nov 1, 2017

I think this issue can be simplified to exclude the @abstract parameter as it happens regardless. This issue may also be a potential duplicate of #1426

@mbehzad
Copy link

mbehzad commented Dec 4, 2017

I use the jsdoc-export-default-interop plugin. It solves this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants