relay-runtime 0.0.0-main-29b77e2f → 0.0.0-main-91c96046
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/experimental.js +1 -1
- package/index.js +1 -1
- package/network/RelayObservable.js.flow +2 -0
- package/package.json +1 -1
package/experimental.js
CHANGED
package/index.js
CHANGED
|
@@ -351,6 +351,8 @@ class RelayObservable<+T> implements Subscribable<T> {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
function complete(this: ObservableContext) {
|
|
354
|
+
/* $FlowFixMe[incompatible-type] Error exposed after improved typing of
|
|
355
|
+
* Array.{includes,indexOf,lastIndexOf} */
|
|
354
356
|
subscriptions.splice(subscriptions.indexOf(this._sub), 1);
|
|
355
357
|
if (subscriptions.length === 0) {
|
|
356
358
|
sink.complete();
|