Closed akuul closed 1 month ago
Same error here, is there any solution to this @janicduplessis?
If you can submit a PR that fixes the issue without breaking older versions, we’ll merge. Otherwise, you could also open an issue on the react types package as to why it broke other packages
So, this is a issue related with react types? @jacobp100
Also, is happening on older versions too, I have currently the 4.7.4 in my project.
Hello,
just bringing awareness here that due to @types/react^18.3.5 and changes made to the forwardRef function,
withSafeAreaInsets
is throwing a Typescript error.I have patched T to use
PropsWithoutRef<T>
that resolves the issue, but this is temporary solution as it is not compatible with@types/react^18.3.4