From 277937056adb12f48e60cc448211fea8b0167e91 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Wed, 18 Dec 2024 21:06:59 +0200 Subject: [PATCH] type fix for ExperimentalIncrementalExecutionResults --- src/execution/types.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/execution/types.ts b/src/execution/types.ts index 2c642f2bfb..87d47e3efc 100644 --- a/src/execution/types.ts +++ b/src/execution/types.ts @@ -35,12 +35,13 @@ export interface FormattedExecutionResult< } export interface ExperimentalIncrementalExecutionResults< - TData = unknown, + TInitial = ObjMap, + TSubsequent = unknown, TExtensions = ObjMap, > { - initialResult: InitialIncrementalExecutionResult; + initialResult: InitialIncrementalExecutionResult; subsequentResults: AsyncGenerator< - SubsequentIncrementalExecutionResult, + SubsequentIncrementalExecutionResult, void, void >;