source: trip-planner-front/node_modules/rxjs/src/internal/operators/zipAll.ts@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 653 bytes
Line 
1import { ZipOperator } from '../observable/zip';
2import { Observable } from '../Observable';
3import { OperatorFunction, ObservableInput } from '../types';
4
5export function zipAll<T>(): OperatorFunction<ObservableInput<T>, T[]>;
6export function zipAll<T>(): OperatorFunction<any, T[]>;
7export function zipAll<T, R>(project: (...values: T[]) => R): OperatorFunction<ObservableInput<T>, R>;
8export function zipAll<R>(project: (...values: Array<any>) => R): OperatorFunction<any, R>;
9
10export function zipAll<T, R>(project?: (...values: Array<any>) => R): OperatorFunction<T, R> {
11 return (source: Observable<T>) => source.lift(new ZipOperator(project));
12}
Note: See TracBrowser for help on using the repository browser.