otris / jsdoc-tsd

JSDoc template for generating TypeScript definition files based on JSDoc comments.
MIT License
29 stars 7 forks source link

Support @extends for interfaces #29

Open tineheller opened 6 years ago

MichalCz commented 6 years ago

I was wondering if anything can be done here? I can make jsdoc-tsd to export extends via manipulating the name of doclet, but that makes memberof not working. I have a bad workaround here (and I'm working on a even worse one): https://github.com/signicode/scramjet/blob/master/jsdoc2md/plugin-tsd.js#L46

wehrstedt commented 6 years ago

That should be definitly possible and not that hard to implement. Currently we have a lot to do, so I think I will have time for that at the end of this year. If you like you can always provide a pull request or you have to wait, sorry 🤔

MichalCz commented 6 years ago

@wehrstedt I had successfully worked this around, and really awfully too.

I have an idea where to put it in an elegant fashion in your code, but... I too have lot on my plate, so I can't promise anything. I'll try to squeeze some time.

wehrstedt commented 6 years ago

Okay, fine. If you are planning to work on this, please let us know or assign this issue to yourself. I will update this if we are planning to work on this, too!

wehrstedt commented 5 years ago

@MichalCz found the related issue of what you described in #58. Its been to long 😄