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
You don't need to use tags such as @Class and @constructor with ES 2015 classes—JSDoc automatically identifies classes and their constructors simply by parsing your code. ES 2015 classes are supported in JSDoc 3.4.0 and later.
I did just that, but if you look at https://cowwoc.github.io/requirements.js/3.1.1/docs/api/ you will notice that Configuration, Requirements show up twice in the class listing. One entry corresponds to the class. The other corresponds to the class's constructor.
Expected behavior: constructor should not show up under class listing.
The text was updated successfully, but these errors were encountered:
Per https://jsdoc.app/howto-es2015-classes.html:
I did just that, but if you look at https://cowwoc.github.io/requirements.js/3.1.1/docs/api/ you will notice that
Configuration
,Requirements
show up twice in the class listing. One entry corresponds to the class. The other corresponds to the class's constructor.Expected behavior: constructor should not show up under class listing.
The text was updated successfully, but these errors were encountered: