We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51060f commit ba30553Copy full SHA for ba30553
.changeset/dry-singers-serve.md
@@ -0,0 +1,5 @@
1
+---
2
+"mobx-tanstack-query": patch
3
4
+
5
+fixed typings of `mutationFn` (second argument)
src/mutation.types.ts
@@ -59,7 +59,7 @@ export type MobxMutationInvalidateQueriesOptions =
59
60
export type MutationFn<TData = unknown, TVariables = unknown> = (
61
variables: TVariables,
62
- options: { signal: AbortSignal },
+ context: MutationFunctionContext,
63
) => Promise<TData>;
64
65
/**
0 commit comments