wishthis/node_modules/rxjs/internal/operators/scan.d.ts
2022-01-21 09:28:41 +01:00

4 lines
431 B
TypeScript

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