import { zip as zipStatic } from '../observable/zip'; import { Observable } from '../Observable'; import { ObservableInput, OperatorFunction } from '../types'; /* tslint:disable:max-line-length */ /** @deprecated Deprecated in favor of static zip. */ export function zip(project: (v1: T) => R): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, project: (v1: T, v2: T2) => R): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, project: (v1: T, v2: T2, v3: T3) => R): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): OperatorFunction ; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput): OperatorFunction ; /** @deprecated Deprecated in favor of static zip. */ export function zip(...observables: Array | ((...values: Array) => R)>): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(array: Array>): OperatorFunction; /** @deprecated Deprecated in favor of static zip. */ export function zip(array: Array>, project: (v1: T, ...values: Array) => R): OperatorFunction; /* tslint:enable:max-line-length */ /** * @deprecated Deprecated in favor of static {@link zip}. */ export function zip(...observables: Array | ((...values: Array) => R)>): OperatorFunction { return function zipOperatorFunction(source: Observable) { return source.lift.call(zipStatic(source, ...observables)); }; }