UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

11 lines (10 loc) 350 B
import { IterableX } from '../../iterable/iterablex'; /** * @ignore */ export declare function maxByProto<TSource, TKey>(this: IterableX<TSource>, keyFn: (x: TSource) => TKey, cmp?: (x: TKey, y: TKey) => number): IterableX<TSource>; declare module '../../iterable/iterablex' { interface IterableX<T> { maxBy: typeof maxByProto; } }