Skip to content

Commit

Permalink
fix: fix output type for mutate and get payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Eckzzo committed Apr 25, 2024
1 parent e232aba commit a6512d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutation/mutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface MutationConfig<TInput = any, TOutput = unknown, TContext = any> {
extensions?: GraphQLFieldExtensions<any, any>;
inputFields: ThunkObjMap<GraphQLInputFieldConfig>;
outputFields: ThunkObjMap<GraphQLFieldConfig<TOutput, TContext>>;
mutateAndGetPayload: MutationFn<TInput, TOutput, TContext>;
mutateAndGetPayload: MutationFn<TInput, Promise<TOutput> | TOutput, TContext>;
}

/**
Expand Down

0 comments on commit a6512d9

Please sign in to comment.