Skip to content

Commit

Permalink
fix: fix output type for mutate and get payload (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eckzzo authored and benjie committed Jul 11, 2024
1 parent fba116f commit 7787bb3
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 7787bb3

Please sign in to comment.