You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the suggestions! This is definitely the right place to ask. Two separate issues might be better since, even though these are both JSDoc-related, they're pretty distinct requests that would likely be implemented separately.
Removing JSDoc annotations seems like it could be doable, although it may be hard to get the whitespace perfect. This is something that I've wished for myself, too, but haven't gotten around to implementing.
Converting inline type assertions also seems like it could be doable. I didn't consider it when I wrote the plugin as the code I've converted hasn't used these. It might be helpful if we can find a source of good examples, as I'm not quite sure how these are typically used in the wild.
With
--plugin jsdoc
is there a way to:/** @param {Foo} bar */
should be entirely removed since it does not contain any descriptions/** @type {Foo} */(bar)
converts to((bar) as Foo)
Is this the right place to ask? I can open 2x separate tickets if that would be better.
The text was updated successfully, but these errors were encountered: