import { IterableX } from '../../iterable/iterablex' ; import { maxBy } from '../../iterable/maxby' ; import { ExtremaOptions } from '../../iterable/extremaoptions' ; ignore export function maxByProto < TSource , TKey > ( this , options ? ) { return maxBy ( this , options ) ; } IterableX . prototype . maxBy = maxByProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { maxBy : typeof maxByProto ; } }