-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Migrate element package to TS #70886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Migrate element package to TS #70886
Conversation
a73cef7
to
d7724d7
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good. Thank you.
I just have some suggestions about cleaning up JSDoc types
d7724d7
to
21e3164
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still many more non-null assertions left in this PR. Let us remove them all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good now.
I would like @jsnajdr @tyxla @sirreal or @youknowriad to have a second look.
Once this gets shipped, I have some interesting changes in mind for |
Let us resolve the conflicts here after updating the branch from trunk. |
What?
Part of: #67691
Migrating the element package to Typescript.
Why?
Type safety.
Testing Instructions
Type check