File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,13 @@ export function isNonReconcilableDeferredGroupedFieldSetResult(
203
203
return deferredGroupedFieldSetResult . errors !== undefined ;
204
204
}
205
205
206
+ type ThunkIncrementalResult < T > =
207
+ | BoxedPromiseOrValue < T >
208
+ | ( ( ) => BoxedPromiseOrValue < T > ) ;
209
+
206
210
export interface DeferredGroupedFieldSetRecord {
207
211
deferredFragmentRecords : ReadonlyArray < DeferredFragmentRecord > ;
208
- result :
209
- | BoxedPromiseOrValue < DeferredGroupedFieldSetResult >
210
- | ( ( ) => BoxedPromiseOrValue < DeferredGroupedFieldSetResult > ) ;
212
+ result : ThunkIncrementalResult < DeferredGroupedFieldSetResult > ;
211
213
}
212
214
213
215
export type SubsequentResultRecord = DeferredFragmentRecord | StreamRecord ;
@@ -225,9 +227,7 @@ export interface StreamItemResult {
225
227
errors ?: ReadonlyArray < GraphQLError > | undefined ;
226
228
}
227
229
228
- export type StreamItemRecord =
229
- | BoxedPromiseOrValue < StreamItemResult >
230
- | ( ( ) => BoxedPromiseOrValue < StreamItemResult > ) ;
230
+ export type StreamItemRecord = ThunkIncrementalResult < StreamItemResult > ;
231
231
232
232
export interface StreamRecord {
233
233
path : Path ;
You can’t perform that action at this time.
0 commit comments