ix
Version:
The Interactive Extensions for JavaScript
13 lines (12 loc) • 521 B
TypeScript
import { IterableX } from '../../iterable/iterablex.js';
import { ReduceOptions } from '../../iterable/reduceoptions.js';
/**
* @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;
}
}