1 | import { AsyncIterableX } from '../../asynciterable/asynciterablex';
|
2 | /**
|
3 | * @ignore
|
4 | */
|
5 | export declare function maxByProto<TSource, TKey>(this: AsyncIterableX<TSource>, keySelector: (x: TSource) => TKey | Promise<TKey>, comparer?: (x: TKey, y: TKey) => number | Promise<number>): AsyncIterableX<TSource>;
|
6 | declare module '../../asynciterable/asynciterablex' {
|
7 | interface AsyncIterableX<T> {
|
8 | maxBy: typeof maxByProto;
|
9 | }
|
10 | }
|