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
Documenting the values of a bare @enum works as expected. But if I export the enumeration, its values are not documented anymore.
Input code
// The values of the following enumeration are documented./** * Provides the list of tokens supported by the parser. * @enum {string} */constToken={/** The coverage data of a branch. */branchesFound: 'BRF',/** The number of branches found. */branchesHit: 'BRH',/** The number of branches hit. */branchData: 'BRDA'};// The values of the following enumeration are NOT documented./** * Provides the list of tokens supported by the parser. * @enum {string} */exportconstToken={/** The coverage data of a branch. */branchesFound: 'BRF',/** The number of branches found. */branchesHit: 'BRH',/** The number of branches hit. */branchData: 'BRDA'};
My annual summer cleaning of open issues 😄 Closing this one because it's still not resolved after one year... and I don't use JSDoc anymore, so this is no longer a problem for me.
Documenting the values of a bare
@enum
works as expected. But if Iexport
the enumeration, its values are not documented anymore.Input code
JSDoc configuration
JSDoc debug output
Expected behavior
The values of an exported
@enum
should appear in the final output.Current behavior
The values of the exported
@enum
don't appear in the final output.Your environment
The text was updated successfully, but these errors were encountered: