-
-
Notifications
You must be signed in to change notification settings - Fork 125
@types/
package not compatible with React 19 types
#117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@types/
package not compatible with React 19 types
upstream in the
|
That might solve these issues for you, or the workaround linked above may still be required if there are any conflicting |
Awesome! thank you for addressing this so quickly. Will give it a go this weekend. I managed to get around it by just explicitly not using types and disabling eslint on my file containing the signature canvas, but I'm a big fan of TS wherever possible 🎉🔥 |
Just to update here, afaict, this seems to be due to a mismatch between
Pinning your |
Uh oh!
There was an error while loading. Please reload this page.
I have an implementation of Signature Dialog:
It works in development, and VSCode doesn't complain during development.
But when I try to build my Nextjs app I get the type error:
I'm on the latest version of the package 1.0.7 and tried to
pnpm install --save-dev @types/react-signature-canvas
The text was updated successfully, but these errors were encountered: