UNPKG

322 BTypeScriptView Raw
1export declare function reduceRight<T, R = T>(source: Iterable<T>, accumulator: (previousValue: R, currentValue: T, currentIndex: number) => R, seed?: never[]): R;
2export declare function reduceRight<T, R = T>(source: Iterable<T>, accumulator: (previousValue: R, currentValue: T, currentIndex: number) => R, seed?: R): R;