rxjs
Version:
Reactive Extensions for modern JavaScript
19 lines • 972 B
TypeScript
import { Observable } from '../Observable';
import { SchedulerLike } from '../types';
/**
* @deprecated Use `from(Object.entries(obj))` instead. Will be removed in v8.
*/
export declare function pairs<T>(arr: readonly T[], scheduler?: SchedulerLike): Observable<[string, T]>;
/**
* @deprecated Use `from(Object.entries(obj))` instead. Will be removed in v8.
*/
export declare function pairs<O extends Record<string, unknown>>(obj: O, scheduler?: SchedulerLike): Observable<[keyof O, O[keyof O]]>;
/**
* @deprecated Use `from(Object.entries(obj))` instead. Will be removed in v8.
*/
export declare function pairs<T>(iterable: Iterable<T>, scheduler?: SchedulerLike): Observable<[string, T]>;
/**
* @deprecated Use `from(Object.entries(obj))` instead. Will be removed in v8.
*/
export declare function pairs(n: number | bigint | boolean | ((...args: any[]) => any) | symbol, scheduler?: SchedulerLike): Observable<[never, never]>;
//# sourceMappingURL=pairs.d.ts.map