File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -566,6 +566,7 @@ export class IncrementalPublisher {
566
566
}
567
567
const incrementalResult : IncrementalStreamResult = {
568
568
items : subsequentResultRecord . items ,
569
+ // safe because `id` is defined once the stream has been released as pending
569
570
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
570
571
id : subsequentResultRecord . streamRecord . id ! ,
571
572
} ;
@@ -625,6 +626,7 @@ export class IncrementalPublisher {
625
626
const incrementalDeferResult : IncrementalDeferResult = {
626
627
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
627
628
data : data ! ,
629
+ // safe because `id` is defined once the fragment has been released as pending
628
630
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
629
631
id : id ! ,
630
632
} ;
@@ -640,6 +642,7 @@ export class IncrementalPublisher {
640
642
completedRecord : DeferredFragmentRecord | StreamRecord ,
641
643
) : CompletedResult {
642
644
const result : CompletedResult = {
645
+ // safe because `id` is defined once the stream has been released as pending
643
646
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
644
647
id : completedRecord . id ! ,
645
648
} ;
You can’t perform that action at this time.
0 commit comments