katoikia-app/web-ui/web-react/node_modules/rxjs/internal/operators/reduce.d.ts

5 lines
437 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import { OperatorFunction, MonoTypeOperatorFunction } from '../types';
export declare function reduce<T, R>(accumulator: (acc: R, value: T, index: number) => R, seed: R): OperatorFunction<T, R>;
export declare function reduce<T>(accumulator: (acc: T, value: T, index: number) => T, seed?: T): MonoTypeOperatorFunction<T>;
export declare function reduce<T, R>(accumulator: (acc: R, value: T, index: number) => R): OperatorFunction<T, R>;