X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Frxjs%2Fsrc%2Finternal%2Foperators%2FwithLatestFrom.ts;h=007b19419e9cb1a9699f4e894d78daa27d433c93;hp=85586b34d156b46bd17b948db3933683db338962;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/withLatestFrom.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/withLatestFrom.ts index 85586b34..007b1941 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/withLatestFrom.ts +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/withLatestFrom.ts @@ -111,13 +111,12 @@ class WithLatestFromSubscriber extends OuterSubscriber { for (let i = 0; i < len; i++) { let observable = observables[i]; - this.add(subscribeToResult(this, observable, observable, i)); + this.add(subscribeToResult(this, observable, undefined, i)); } } - notifyNext(outerValue: T, innerValue: R, - outerIndex: number, innerIndex: number, - innerSub: InnerSubscriber): void { + notifyNext(_outerValue: T, innerValue: R, + outerIndex: number): void { this.values[outerIndex] = innerValue; const toRespond = this.toRespond; if (toRespond.length > 0) { @@ -138,7 +137,7 @@ class WithLatestFromSubscriber extends OuterSubscriber { if (this.project) { this._tryProject(args); } else { - this.destination.next(args); + this.destination.next!(args); } } } @@ -146,11 +145,11 @@ class WithLatestFromSubscriber extends OuterSubscriber { private _tryProject(args: any[]) { let result: any; try { - result = this.project.apply(this, args); + result = this.project!.apply(this, args); } catch (err) { - this.destination.error(err); + this.destination.error!(err); return; } - this.destination.next(result); + this.destination.next!(result); } }