From ee157501e365cfe0960b724df1226ec44896e28f Mon Sep 17 00:00:00 2001 From: nivekh <115717794+nivekh@users.noreply.github.com> Date: Tue, 26 Aug 2025 15:09:45 -0400 Subject: [PATCH 1/2] Update skipWhile documentation to fix error --- packages/rxjs/src/internal/operators/skipWhile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rxjs/src/internal/operators/skipWhile.ts b/packages/rxjs/src/internal/operators/skipWhile.ts index d4fd6912cb..8da59ce4ad 100644 --- a/packages/rxjs/src/internal/operators/skipWhile.ts +++ b/packages/rxjs/src/internal/operators/skipWhile.ts @@ -12,7 +12,7 @@ export function skipWhile(predicate: (value: T, index: number) => boolean): M * ![](skipWhile.png) * * Skips all the notifications with a truthy predicate. It will not skip the notifications when the predicate is falsy. - * It can also be skipped using index. Once the predicate is true, it will not be called again. + * It can also be skipped using index. Once the predicate is false, it will not be called again, and all further notifications will be emitted. * * ## Example * From 90c7db3fa0e828dc0e6c707a7c9b37c210c18085 Mon Sep 17 00:00:00 2001 From: nivekh <115717794+nivekh@users.noreply.github.com> Date: Tue, 26 Aug 2025 15:13:06 -0400 Subject: [PATCH 2/2] Update skipWhile.ts --- packages/rxjs/src/internal/operators/skipWhile.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/rxjs/src/internal/operators/skipWhile.ts b/packages/rxjs/src/internal/operators/skipWhile.ts index 8da59ce4ad..6daca67068 100644 --- a/packages/rxjs/src/internal/operators/skipWhile.ts +++ b/packages/rxjs/src/internal/operators/skipWhile.ts @@ -11,8 +11,7 @@ export function skipWhile(predicate: (value: T, index: number) => boolean): M * * ![](skipWhile.png) * - * Skips all the notifications with a truthy predicate. It will not skip the notifications when the predicate is falsy. - * It can also be skipped using index. Once the predicate is false, it will not be called again, and all further notifications will be emitted. + * Skips all the notifications where the given predicate returns a truthy value. Once the predicate is falsey, it will not be called again, and all further notifications will be emitted. * * ## Example *