-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Make more components pass type checks #43579
Conversation
@ciampo These components are either explicitly deprecated, or HOCs that already have hook equivalents. In other words, pretty unlikely that anyone will touch them anymore. I opted for a quick fix like this, not even converting the files to |
In the future we may decide to convert them to TypeScript in case we want to get rid of as many We could alternatively also look at marking them for removal in a future version of WordPress? |
Size Change: -2 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
What?
Adds some quick tweaks to make the following components pass TypeScript checks:
Why?
To get closer to having the whole components package be type checked.
Testing Instructions
✅
npm run build:package-types
succeeds