Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
{Typings] Added context to MutationOptions (#2354)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobuerger authored and hwillson committed Sep 28, 2018
1 parent 2c7bdce commit 514c15a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mutation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export declare type MutationOptions<TData = any, TVariables = OperationVariables
refetchQueries?: Array<string | PureQueryOptions> | RefetchQueriesProviderFn;
awaitRefetchQueries?: boolean;
update?: MutationUpdaterFn<TData>;
context?: Record<string, any>;
};

export declare type MutationFn<TData = any, TVariables = OperationVariables> = (
Expand Down

0 comments on commit 514c15a

Please sign in to comment.