Tumortisch-Dist/resources/app/node_modules/rxjs/operator/reduce.d.ts

5 lines
455 B
TypeScript
Raw Permalink Normal View History

2021-06-15 16:00:08 +02:00
import { Observable } from '../Observable';
export declare function reduce<T>(this: Observable<T>, accumulator: (acc: T, value: T, index: number) => T, seed?: T): Observable<T>;
export declare function reduce<T>(this: Observable<T>, accumulator: (acc: T[], value: T, index: number) => T[], seed: T[]): Observable<T[]>;
export declare function reduce<T, R>(this: Observable<T>, accumulator: (acc: R, value: T, index: number) => R, seed: R): Observable<R>;