Closed reckter closed 1 year ago
Thanks for reaching out @reckter! 👋
This is a duplicate of #50
The next major release will support unified 11 and remark 15 (currently in the process of being released) based off the work in https://github.com/remarkjs/react-remark/pull/39 As noted in https://github.com/remarkjs/react-remark/issues/54 there are a few higher priority releases that need attention before I'll finish this. If you are interested feel free to work on any of the checklist of planned changes in https://github.com/remarkjs/react-remark/pull/39 to help accelerate that time-line.
Initial checklist
Affected packages and versions
react-remark@2.1.0
Link to runnable example
No response
Steps to reproduce
I've tried to update
@types/unist
to v3 from v2, but that causes a type error when trying to give Remark a list of plugins:This seems to be, because
react-remark
is still usingunified@9.x
, which intern is still depending on@types/unist@2.x
.Expected behavior
The types work with the most up to date versions of
@types/unist
Actual behavior
There is a type conflict in the
Node
type between@types/unist@2
and@types/unist@3
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response