UNPKG

ix

Version:

The Interactive Extensions for JavaScript

10 lines (9 loc) 434 B
import { IterableX } from '../../iterable/iterablex.js'; import { MathOptions } from '../../iterable/mathoptions.js'; export declare function averageProto(this: IterableX<number>, options?: MathOptions<number>): number; export declare function averageProto<T>(this: IterableX<T>, options?: MathOptions<T>): number; declare module '../../iterable/iterablex' { interface IterableX<T> { average: typeof averageProto; } }