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
When writing a class that has a static factory method which creates a new instance of the class itself, the class will be suffixed with _1 in the created docs.
Sample:
The decorator has to be before the class itself. The order between the JSDoc Comment and the decorator should be irrelevant.
I played bit around and removed the decorator with a regex before passing the source to the ts compiler. That worked but I don't know if it is a feasible option to create a regex that catches all decorators but ignores the JSDoc annotations.
tbh, the current way how better docs works is not scallable. In the long run we will have to get rid of jsdoc and parse everything on our own. But this is a huge project (week of work) and not sure we can invest on this right now.
When writing a class that has a static factory method which creates a new instance of the class itself, the class will be suffixed with _1 in the created docs.
Sample:
The JsDoc than contains a Class MyClass_1 that misses the class description.
The text was updated successfully, but these errors were encountered: