From a6512d9388967f844aac8769522c75abfc3178b5 Mon Sep 17 00:00:00 2001 From: Ivan Levenhagen <70105678+Eckzzo@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:01:36 -0300 Subject: [PATCH] fix: fix output type for mutate and get payload --- 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>; } /**