From 0b85d66785875e65db6e6a5dddbe817344f1c181 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Thu, 25 Jul 2024 15:27:40 +0300 Subject: [PATCH] polish(incremental): remove outdated reference to subsequentResult --- src/execution/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/execution/types.ts b/src/execution/types.ts index d300a4481c..2c642f2bfb 100644 --- a/src/execution/types.ts +++ b/src/execution/types.ts @@ -177,9 +177,9 @@ export type CompletedExecutionGroup = | FailedExecutionGroup; export function isCompletedExecutionGroup( - subsequentResult: CompletedExecutionGroup | StreamItemsResult, -): subsequentResult is CompletedExecutionGroup { - return 'pendingExecutionGroup' in subsequentResult; + incrementalDataRecordResult: IncrementalDataRecordResult, +): incrementalDataRecordResult is CompletedExecutionGroup { + return 'pendingExecutionGroup' in incrementalDataRecordResult; } export interface SuccessfulExecutionGroup {