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

Esdoc skips objects/functions exported using export {myThing} #30

Closed
yamalight opened this issue Jul 16, 2015 · 3 comments
Closed

Esdoc skips objects/functions exported using export {myThing} #30

yamalight opened this issue Jul 16, 2015 · 3 comments

Comments

@yamalight
Copy link

So, if you have the following snippet:

/**
 * Test function
 * @return {void}
 */
const TestFunction = function() {
    console.log('test');
};

export {TestFunction};

Esdoc will not generate any documentation for this.

But if you change it to this:

/**
 * Test function
 * @return {void}
 */
export const TestFunction = function() {
    console.log('test');
};

It'll work as expected.

This does not affects Classes - for them everything is generated OK for both cases.

@h13i32maru
Copy link
Member

Thanks issue!

This is ESDoc bug 😓

@h13i32maru
Copy link
Member

ESDoc supports separated function and variable export.

@yamalight
Copy link
Author

awesome, thanks! 👍

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

No branches or pull requests

2 participants