UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

13 lines (12 loc) 515 B
import { IterableX } from '../../iterable/iterablex'; import { ReduceOptions } from '../../iterable/reduceoptions'; /** * @ignore */ export declare function reduceRightProto<T, R = T>(this: IterableX<T>, options: ReduceOptions<T, R>): R; export declare function reduceRightProto<T, R = T>(this: IterableX<T>, accumulator: (accumulator: R, current: T, index: number) => R, seed?: R): R; declare module '../../iterable/iterablex' { interface IterableX<T> { reduceRight: typeof reduceRightProto; } }