Type errors in @wordpress/data #46626
Labels
Developer Experience
Ideas about improving block and theme developer experience
[Package] Data
/packages/data
[Type] Code Quality
Issues or PRs that relate to code quality
Description
Hi,
I'm trying to use the types bundled with
@wordpress/data
in order to remove the@types/wordpress__data
typings package. However, I am running into some problems with the types themselves - I get the following errors:Looking at them manually, the reported issues seem correct...
Step-by-step reproduction instructions
types/wordpress__data
directory to force use of types in@wordpress/data
npm test wordpress__rich-text
Screenshots, screen recording, code snippet
No response
Environment info
@wordpress/data
8.0.0Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: