Rich-Harris / dts-buddy

WORK IN PROGRESS DO NOT USE
MIT License
317 stars 12 forks source link

preserve type expressions in JSDoc annotations for tags other than `param` and `returns` #69

Closed Rich-Harris closed 11 months ago

Rich-Harris commented 11 months ago

The type expression in an annotation like @throws {Error} blah should be preserved. @param and @returns are different, as they get turned into TypeScript proper