Hacker News new | ask | show | jobs
by djbusby 1133 days ago
To keep the benefits of Types w/o the burden of TS.
1 comments

with the difference that typescript generates the types automatically or at least tries to and in JSDoc the user needs to write the JSDoc.

Edit, btw: Most complex types in the MR are now completly broken. It's crazy that there is a serious project out there who tries to mix jsdoc and typescript interfaces in the same project. it's like getting bad things from two worlds.

Just add some interfaces.d.ts and import those types into jsdoc and you still have all your complexity
With modern IDE writing JSDoc comments is a fast process