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%2FwindowWhen.ts;h=67e0b16b1c3e4b3cbb11c09e6437e56295e34bb6;hp=aa0cf2cf672826b7f565cb33c791ec6ebc062818;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/windowWhen.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/windowWhen.ts index aa0cf2cf..67e0b16b 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/windowWhen.ts +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/src/internal/operators/windowWhen.ts @@ -74,8 +74,8 @@ class WindowOperator implements Operator> { * @extends {Ignored} */ class WindowSubscriber extends OuterSubscriber { - private window: Subject; - private closingNotification: Subscription; + private window?: Subject; + private closingNotification?: Subscription; constructor(protected destination: Subscriber>, private closingSelector: () => Observable) { @@ -83,13 +83,13 @@ class WindowSubscriber extends OuterSubscriber { this.openWindow(); } - notifyNext(outerValue: T, innerValue: any, - outerIndex: number, innerIndex: number, + notifyNext(_outerValue: T, _innerValue: any, + _outerIndex: number, _innerIndex: number, innerSub: InnerSubscriber): void { this.openWindow(innerSub); } - notifyError(error: any, innerSub: InnerSubscriber): void { + notifyError(error: any): void { this._error(error); } @@ -98,17 +98,17 @@ class WindowSubscriber extends OuterSubscriber { } protected _next(value: T): void { - this.window.next(value); + this.window!.next(value); } protected _error(err: any): void { - this.window.error(err); + this.window!.error(err); this.destination.error(err); this.unsubscribeClosingNotification(); } protected _complete(): void { - this.window.complete(); + this.window!.complete(); this.destination.complete(); this.unsubscribeClosingNotification(); } @@ -119,7 +119,7 @@ class WindowSubscriber extends OuterSubscriber { } } - private openWindow(innerSub: InnerSubscriber = null): void { + private openWindow(innerSub: InnerSubscriber | null = null): void { if (innerSub) { this.remove(innerSub); innerSub.unsubscribe();