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
I have a class that extends another one. Is it possible for the child class to include documentation for inherited methods? I'm only getting documentation for the actual methods in the class and not the inherited ones.
I can see that my @extends keyword is picked up because it shows up in the generated docs. This is basically my setup:
/** * Vehicle Class */classVehicle{start(){// Vroom!}}
import{Vehicle}from"./Vehicle.js";/** * Tank Class * @extends Vehicle */classTankextendsVehicle{fire(){// fire!}}
In the documentation for the Tank class, I see the fire() method but not the start() method. Is that normal?
The text was updated successfully, but these errors were encountered:
Hi, does your inherited method document as expected using jsdoc directly? If not, it's likely an issue with jsdoc (which jsdoc2md uses internally).. Check their issue log..
I am exporting the same documentation to HTML with foodoc (a template for jsdoc) and the inherited methods are all there.
There is an issue with jsdoc that mentions that inherited properties are not documented but that also confirms that inherited methods are indeed documented.
I have a class that extends another one. Is it possible for the child class to include documentation for inherited methods? I'm only getting documentation for the actual methods in the class and not the inherited ones.
I can see that my @extends keyword is picked up because it shows up in the generated docs. This is basically my setup:
In the documentation for the
Tank
class, I see thefire()
method but not thestart()
method. Is that normal?The text was updated successfully, but these errors were encountered: