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

{Typings] Added context to MutationOptions #2354

Merged
merged 3 commits into from
Sep 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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