diff --git a/api_guard/dist/types/index.d.ts b/api_guard/dist/types/index.d.ts index 3f930cf2b8..ea785df097 100644 --- a/api_guard/dist/types/index.d.ts +++ b/api_guard/dist/types/index.d.ts @@ -577,6 +577,11 @@ export declare function refCount(): MonoTypeOperatorFunction; export declare function repeat(countOrConfig?: number | RepeatConfig): MonoTypeOperatorFunction; +export interface RepeatConfig { + count?: number; + delay?: number | ((count: number) => ObservableInput); +} + export declare function repeatWhen(notifier: (notifications: Observable) => ObservableInput): MonoTypeOperatorFunction; export declare class ReplaySubject extends Subject { diff --git a/api_guard/dist/types/operators/index.d.ts b/api_guard/dist/types/operators/index.d.ts index 36d1c6de49..c8b58f30e2 100644 --- a/api_guard/dist/types/operators/index.d.ts +++ b/api_guard/dist/types/operators/index.d.ts @@ -231,6 +231,11 @@ export declare function refCount(): MonoTypeOperatorFunction; export declare function repeat(countOrConfig?: number | RepeatConfig): MonoTypeOperatorFunction; +export interface RepeatConfig { + count?: number; + delay?: number | ((count: number) => ObservableInput); +} + export declare function repeatWhen(notifier: (notifications: Observable) => ObservableInput): MonoTypeOperatorFunction; export declare function retry(count?: number): MonoTypeOperatorFunction; diff --git a/src/internal/operators/repeatWhen.ts b/src/internal/operators/repeatWhen.ts index 46934e67d1..5e55ca07f4 100644 --- a/src/internal/operators/repeatWhen.ts +++ b/src/internal/operators/repeatWhen.ts @@ -34,7 +34,7 @@ import { createOperatorSubscriber } from './OperatorSubscriber'; * @see {@link retry} * @see {@link retryWhen} * - * @param notifier function that receives an Observable of notifications with + * @param notifier Function that receives an Observable of notifications with * which a user can `complete` or `error`, aborting the repetition. * @return A function that returns an `ObservableInput` that mirrors the source * Observable with the exception of a `complete`.