UNPKG

ix

Version:

The Interactive Extensions for JavaScript

9 lines (8 loc) 407 B
import { MathOptions } from '../../asynciterable/mathoptions.js'; export declare function sumProto(this: AsyncIterable<number>, options?: MathOptions<number>): Promise<number>; export declare function sumProto<T>(this: AsyncIterable<T>, options?: MathOptions<T>): Promise<number>; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX<T> { sum: typeof sumProto; } }