Open robertmain opened 7 years ago
Interesting proposal - while I personally disagree with this because javascript really doesnt support it and you're using a workaround - I dont see why esdoc cant really facilitate what your asking for, so this seems like an interesting feature to add.
Thanks. Whilst I'm aware that TypeScriipt is not Java(which does support multiple constructors). It would be handy to be able to document the ability to construct an object in multiple ways as you said...
On second thought, I think we could make this a plugin.
Forgot to say. The documentation that esdoc produces actually says "Public Constructors" which kind of implies that there may be more than one...hence my creation of this issue :)
Make sure these boxes are checked before submitting your issue - thank you! (If your issue is neither a both bug nor a request, please write in a free style)
Short summary of your issue
Whilst I'm aware of the fact that none of the current ECMAScript standards support multiple constructors, it is possible to (sort of) support this functionality and it would be cool if ESDoc had some capability for me to document multiple ways of constructing my class
Input data for reproducing
Configuration
Code
Output data
Log
Screen shot of documentation
// attach a image into here
Exception output (if possible)
Log
Screen shot of documentation
// attach a image into here
Your environment