Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
chore: add typedefs for registerBlockType #18257
Adding JSDoc typedefs for
As I'm a new contributor, I would love some feedback on this before spending too much time on the items marked
How has this been tested?
Checked against other typedefs in the project and my approach seems consistent and satisfies lint rules. Intellisense in VS Code works as expected.
Types of changes
cc @dsifford , as I wonder if you might have some insight to add here with regard to some of the questions (function documentation, enumerables).
I haven't personally seen any pattern (in this project or elsewhere) for detailed function-type documentation in JSDoc.
Two surface-level observations:
In the meantime, I'll give a look over the specific changes.