import { merge as mergeStatic } from '../observable/merge'; import { Observable } from '../Observable'; import { ObservableInput, OperatorFunction, MonoTypeOperatorFunction, SchedulerLike } from '../types'; /* tslint:disable:max-line-length */ /** @deprecated Deprecated in favor of static merge. */ export function merge(scheduler?: SchedulerLike): MonoTypeOperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(concurrent?: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(v2: ObservableInput, v3: ObservableInput, v4: ObservableInput, v5: ObservableInput, v6: ObservableInput, concurrent?: number, scheduler?: SchedulerLike): OperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(...observables: Array | SchedulerLike | number>): MonoTypeOperatorFunction; /** @deprecated Deprecated in favor of static merge. */ export function merge(...observables: Array | SchedulerLike | number>): OperatorFunction; /* tslint:enable:max-line-length */ /** * @deprecated Deprecated in favor of static {@link merge}. */ export function merge(...observables: Array | SchedulerLike | number>): OperatorFunction { return (source: Observable) => source.lift.call(mergeStatic(source, ...observables)); }