2018-11-22 16:41:46 +01:00
|
|
|
import { OperatorFunction, MonoTypeOperatorFunction } from '../types';
|
2019-06-04 14:29:48 +02:00
|
|
|
export declare function reduce<T, R>(accumulator: (acc: R, value: T, index: number) => R, seed: R): OperatorFunction<T, R>;
|
2018-11-22 16:41:46 +01:00
|
|
|
export declare function reduce<T>(accumulator: (acc: T, value: T, index: number) => T, seed?: T): MonoTypeOperatorFunction<T>;
|
2019-06-04 14:29:48 +02:00
|
|
|
export declare function reduce<T, R>(accumulator: (acc: R, value: T, index: number) => R): OperatorFunction<T, R>;
|