Skip to content

Conversation

@jelteliekens
Copy link
Contributor

  • Fix missing argument variables in onError and onSettled in the mutation options.
  • Add generic TSnapshot for snapshot value so the correct type is available in onError and onSettled.
  • Add generic TResult in BaseQueryOptions which removes the need of using any in onSuccess and onSettled.

@tannerlinsley tannerlinsley merged commit bb3535d into TanStack:master Jun 29, 2020
@tannerlinsley
Copy link
Member

🎉 This PR is included in version 2.4.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants