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
I'm thinking at this point, since we have already committed to typescript, we don't need to add JSDoc. Feel free to re-open and comment if you feel this would still be a valuable enhancement or would like to continue discussion on this.
In short, I think this could help avoid adding another barrier of entry for external contributors and some other disadvantages discussed in: https://medium.com/javascript-scene/the-typescript-tax-132ff4cb175b
Here is some documentation of using JSDoc comments to add the strong typing to the existing JavaScript, as documented in the following resources:
see also this discussion: prettier/prettier#6286
There should also be a way to use JSDoc comments to completely bypass using *.d.ts, not working 100% due to microsoft/TypeScript#33136
I would like to give this idea sometime in the near future (no promises right now, unfortunately).
++ /cc @rbiggs
The text was updated successfully, but these errors were encountered: