From 173e1eb4af88f92b1eced908c2b33f1924be8830 Mon Sep 17 00:00:00 2001 From: Ulad Kasach Date: Tue, 1 Aug 2023 08:10:17 -0700 Subject: [PATCH] fix(types): ensure mutationOutput is the awaited result everywhere --- src/RemoteStateQueryCachingOptions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RemoteStateQueryCachingOptions.ts b/src/RemoteStateQueryCachingOptions.ts index fc2ca42..cbb3605 100644 --- a/src/RemoteStateQueryCachingOptions.ts +++ b/src/RemoteStateQueryCachingOptions.ts @@ -46,7 +46,7 @@ export interface RemoteStateQueryInvalidationTrigger * note * - this may be null if the mutation threw an error */ - mutationOutput: ReturnType | null; + mutationOutput: Awaited> | null; /** * the status of the execution */ @@ -101,7 +101,7 @@ export interface RemoteStateQueryUpdateTrigger any, * note * - this may be null if the mutation threw an error */ - mutationOutput: ReturnType | null; + mutationOutput: Awaited> | null; /** * the status of the execution */