From 8285ab2ed49d34f9a76b13da307e80c11efa4071 Mon Sep 17 00:00:00 2001 From: Ivan Levenhagen <70105678+Eckzzo@users.noreply.github.com> Date: Thu, 11 Jul 2024 14:48:09 -0300 Subject: [PATCH] fix: fix output type for mutate and get payload (#394) --- src/mutation/mutation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mutation/mutation.ts b/src/mutation/mutation.ts index 1f61ffb..05e367d 100644 --- a/src/mutation/mutation.ts +++ b/src/mutation/mutation.ts @@ -41,7 +41,7 @@ interface MutationConfig { extensions?: GraphQLFieldExtensions; inputFields: ThunkObjMap; outputFields: ThunkObjMap>; - mutateAndGetPayload: MutationFn; + mutateAndGetPayload: MutationFn | TOutput, TContext>; } /**