Opal-Estate-Pro/node_modules/rxjs/operators/reduce.d.ts

5 lines
457 B
TypeScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
import { OperatorFunction, MonoTypeOperatorFunction } from '../interfaces';
export declare function reduce<T>(accumulator: (acc: T, value: T, index: number) => T, seed?: T): MonoTypeOperatorFunction<T>;
export declare function reduce<T>(accumulator: (acc: T[], value: T, index: number) => T[], seed: T[]): OperatorFunction<T, T[]>;
export declare function reduce<T, R>(accumulator: (acc: R, value: T, index: number) => R, seed?: R): OperatorFunction<T, R>;