ix
Version:
The Interactive Extensions for JavaScript
10 lines (9 loc) • 418 B
TypeScript
import { IterableX } from '../../iterable/iterablex.js';
import { MathOptions } from '../../iterable/mathoptions.js';
export declare function sumProto(this: IterableX<number>, options?: MathOptions<number>): number;
export declare function sumProto<T>(this: IterableX<T>, options?: MathOptions<T>): number;
declare module '../../iterable/iterablex' {
interface IterableX<T> {
sum: typeof sumProto;
}
}