Skip to content

Commit

Permalink
Fix wordpress__components & wordpress__compose type mismatch after ch…
Browse files Browse the repository at this point in the history
…ange to React v18 (#63716)

* Update to work for React 18

* Update deps to work now required React 18

* Add missing dependencies

* Remove @types packages

* Update version to match @wordpress/components

* Update version for breaking changes
  • Loading branch information
danieliser committed Dec 29, 2022
1 parent b0242c3 commit acfd64b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion types/wordpress__components/index.d.ts
@@ -1,4 +1,4 @@
// Type definitions for @wordpress/components 19.10
// Type definitions for @wordpress/components 23.0
// Project: https://github.com/WordPress/gutenberg/tree/trunk/packages/components
// Definitions by: Derek Sifford <https://github.com/dsifford>
// Jon Surrell <https://github.com/sirreal>
Expand Down
2 changes: 1 addition & 1 deletion types/wordpress__components/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"dependencies": {
"@wordpress/element": "^4.1.0",
"@wordpress/element": "^5.0.0",
"downshift": "^6.0.15",
"re-resizable": "^6.4.0"
}
Expand Down
2 changes: 1 addition & 1 deletion types/wordpress__compose/index.d.ts
@@ -1,4 +1,4 @@
// Type definitions for @wordpress/compose 4.0
// Type definitions for @wordpress/compose 6.0
// Project: https://github.com/WordPress/gutenberg/tree/master/packages/compose/README.md
// Definitions by: Derek Sifford <https://github.com/dsifford>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Expand Down
2 changes: 1 addition & 1 deletion types/wordpress__compose/package.json
@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
"@wordpress/element": "^3.0.0"
"@wordpress/element": "^5.0.0"
}
}

0 comments on commit acfd64b

Please sign in to comment.