@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
8 lines (7 loc) • 380 B
TypeScript
import { ToMapOptions } from '../../asynciterable/tomap.js';
export declare function toMapProto<TSource, TKey, TElement = TSource>(this: AsyncIterable<TSource>, options: ToMapOptions<TSource, TKey, TElement>): Promise<Map<TKey, TElement | TSource>>;
declare module '../../asynciterable/asynciterablex' {
interface AsyncIterableX<T> {
toMap: typeof toMapProto;
}
}