Opal-Estate-Pro/node_modules/rxjs/operators/scan.d.ts
2019-09-13 11:27:52 +07:00

5 lines
452 B
TypeScript
Executable File

import { OperatorFunction, MonoTypeOperatorFunction } from '../interfaces';
export declare function scan<T>(accumulator: (acc: T, value: T, index: number) => T, seed?: T): MonoTypeOperatorFunction<T>;
export declare function scan<T>(accumulator: (acc: T[], value: T, index: number) => T[], seed?: T[]): OperatorFunction<T, T[]>;
export declare function scan<T, R>(accumulator: (acc: R, value: T, index: number) => R, seed?: R): OperatorFunction<T, R>;