UNPKG

402 BTypeScriptView Raw
1import { OperatorAsyncFunction } from '../../interfaces';
2export declare function scan<T, R = T>(accumulator: (previousValue: R, currentValue: T, currentIndex: number) => R | Promise<R>, seed?: never[]): OperatorAsyncFunction<T, R>;
3export declare function scan<T, R = T>(accumulator: (previousValue: R, currentValue: T, currentIndex: number) => R | Promise<R>, seed?: R): OperatorAsyncFunction<T, R>;