Open ciampo opened 3 years ago
@ciampo is this issue still relevant?
It is, especially as we refactor more code to TypeScript.
At the minimum, we could acknowledge the usage of TypeScript around the codebase, and that in this case the type information should be removed from the JSDocs as it would be redundant.
What
As discussed in https://github.com/WordPress/gutenberg/pull/33960#discussion_r704632262, the JSDocs guidelines should be updated to acknowledge the TypeScript language and how that affects JSDocs
https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/code/coding-guidelines.md#javascript-documentation-using-jsdoc
Why
Keeping our docs up to date
A/C