-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
createMutation (onMutate) context is of type 'unknown' #111
Comments
Hey, I'm new here, just looking around, so I haven't tried this package yet. I would not have expected that this package would also offer a svelte-query utility, but it's great to know that it does. Anyway I have a few questions: Is the return type of |
Doing the following on my Svelte page (Optimistic Updating):
However i'm getting an error:
Not sure if it's a bug, or if i'm doing something wrong. Followed the guide here https://tanstack.com/query/v4/docs/framework/react/guides/optimistic-updates
The text was updated successfully, but these errors were encountered: