microsoft / tsdoc

A doc comment standard for TypeScript
https://tsdoc.org/
MIT License
4.7k stars 130 forks source link

Method for "extending" existing ES Module documentation? #336

Open JustinGrote opened 1 year ago

JustinGrote commented 1 year ago

Say I have a package that has typescript types but they have no jsdoc/tsdoc so I only get basic intellisense without descriptions. Does TSDoc support a way for me to write my own docs and have them merged with the existing types from the package? Assuming esmodules with import syntax

Can @packageDocumentation be used this way without defining new types? Interface merges perhaps?