projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Giant blob of minor changes
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
rxjs
/
src
/
internal
/
observable
/
race.ts
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/observable/race.ts
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/observable/race.ts
index e6e13ded30a193aa62b888ffda14643cd2d40ab3..06b587c2dbd52851a78370e0a1ebfab16b56228a 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/observable/race.ts
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/observable/race.ts
@@
-102,24
+102,23
@@
export class RaceSubscriber<T> extends OuterSubscriber<T, T> {
const len = observables.length;
if (len === 0) {
const len = observables.length;
if (len === 0) {
- this.destination.complete();
+ this.destination.complete
!
();
} else {
for (let i = 0; i < len && !this.hasFirst; i++) {
} else {
for (let i = 0; i < len && !this.hasFirst; i++) {
-
le
t observable = observables[i];
-
let subscription = subscribeToResult(this, observable, observable as any, i)
;
+
cons
t observable = observables[i];
+
const subscription = subscribeToResult(this, observable, undefined, i)!
;
if (this.subscriptions) {
this.subscriptions.push(subscription);
}
this.add(subscription);
}
if (this.subscriptions) {
this.subscriptions.push(subscription);
}
this.add(subscription);
}
- this.observables = null;
+ this.observables = null
!
;
}
}
}
}
- notifyNext(outerValue: T, innerValue: T,
- outerIndex: number, innerIndex: number,
- innerSub: InnerSubscriber<T, T>): void {
+ notifyNext(_outerValue: T, innerValue: T,
+ outerIndex: number): void {
if (!this.hasFirst) {
this.hasFirst = true;
if (!this.hasFirst) {
this.hasFirst = true;
@@
-132,9
+131,9
@@
export class RaceSubscriber<T> extends OuterSubscriber<T, T> {
}
}
}
}
- this.subscriptions = null;
+ this.subscriptions = null
!
;
}
}
- this.destination.next(innerValue);
+ this.destination.next
!
(innerValue);
}
}
}
}