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

5 lines
451 B
TypeScript
Executable File

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