UNPKG

350 BTypeScriptView Raw
1import { IterableX } from '../../iterable/iterablex';
2/**
3 * @ignore
4 */
5export declare function maxByProto<TSource, TKey>(this: IterableX<TSource>, keyFn: (x: TSource) => TKey, cmp?: (x: TKey, y: TKey) => number): IterableX<TSource>;
6declare module '../../iterable/iterablex' {
7 interface IterableX<T> {
8 maxBy: typeof maxByProto;
9 }
10}