-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[TypeScript] Fix cannot specify the error type in mutation hooks #7698
[TypeScript] Fix cannot specify the error type in mutation hooks #7698
Conversation
977baa9
to
5aeff10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise that's a great contribution, thanks! 🙂
ee2c728
to
282e859
Compare
I did the requested changes and cleaned up the commit history. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code seems fine to me, thanks again! 👍
Vercel deployment is failing though, but I don't know why. Storybook and simple example both run fine on my machine. It's probably a permissions problem...
I'll merge as soon as I have confirmation by the rest of the team 🙂
Apparently Vercel complains because the |
or try to rebase on master |
282e859
to
29cf058
Compare
@slax57 @fzaninotto The rebase is done! EDIT: I failed it. Will rework that. |
282e859
to
ada9ed4
Compare
ada9ed4
to
7746921
Compare
@slax57 Should be OK now! 👍 |
Unit tests are failing, but this is unrelated to your PR. We have this on master too (consequence of merging 4.0.5 and 4.1.0 together it seems). |
7746921
to
853d90d
Compare
@slax57 I saw your team merged some test fix on master, so I did a new rebase. |
Provides a way to set the expected type of the error instance that will be propagated to the related functions.
closes #7653