Updates to the latest Gutenberg packages. This requires a few changes to remove a deprecated anchorRef.
Something has changed in Gutenberg (possibly @wordpress/data and @wordpress/compose) that has affected the Typescript checking in this repo, resulting in a lot of warnings with valid code. After checking it seems the same code doesn't produce warnings in Gutenberg itself because Typescript doesn't run on those areas of code.
Until there is a better way (possibly as a result of whatever code migration is ongoing in Gutenberg itself) I've just disabled typescript in various files and bits of code here. The code is mostly related to old usage of withSelect and withDispatch.
I've not been able to update the Babel packages as it breaks Storybook in a way I'm unable to fix. For now I will leave those alone and hope whatever issues exist are fixed further up the line.
Updates to the latest Gutenberg packages. This requires a few changes to remove a deprecated
anchorRef
.Something has changed in Gutenberg (possibly @wordpress/data and @wordpress/compose) that has affected the Typescript checking in this repo, resulting in a lot of warnings with valid code. After checking it seems the same code doesn't produce warnings in Gutenberg itself because Typescript doesn't run on those areas of code.
Until there is a better way (possibly as a result of whatever code migration is ongoing in Gutenberg itself) I've just disabled typescript in various files and bits of code here. The code is mostly related to old usage of
withSelect
andwithDispatch
.I've not been able to update the Babel packages as it breaks Storybook in a way I'm unable to fix. For now I will leave those alone and hope whatever issues exist are fixed further up the line.