Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / observable / race.js
index 10b093e928ab5dc229e83bd133d6c83715355a90..7632a31a383b1ae3c614e3cd903913d02b8120cc 100644 (file)
@@ -36,8 +36,8 @@ export class RaceSubscriber extends OuterSubscriber {
         }
         else {
             for (let i = 0; i < len && !this.hasFirst; i++) {
-                let observable = observables[i];
-                let subscription = subscribeToResult(this, observable, observable, i);
+                const observable = observables[i];
+                const subscription = subscribeToResult(this, observable, undefined, i);
                 if (this.subscriptions) {
                     this.subscriptions.push(subscription);
                 }
@@ -46,7 +46,7 @@ export class RaceSubscriber extends OuterSubscriber {
             this.observables = null;
         }
     }
-    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {
+    notifyNext(_outerValue, innerValue, outerIndex) {
         if (!this.hasFirst) {
             this.hasFirst = true;
             for (let i = 0; i < this.subscriptions.length; i++) {