import { IterableX } from '../../iterable/iterablex.js'; import { zip } from '../../iterable/zip.js'; /** * @ignore */ export function zipProto(this: IterableX, source2: Iterable): IterableX<[T, T2]>; export function zipProto( this: IterableX, source2: Iterable, source3: Iterable ): IterableX<[T, T2, T3]>; export function zipProto( this: IterableX, source2: Iterable, source3: Iterable, source4: Iterable ): IterableX<[T, T2, T3, T4]>; export function zipProto( this: IterableX, source2: Iterable, source3: Iterable, source4: Iterable, source5: Iterable ): IterableX<[T, T2, T3, T4, T5]>; export function zipProto( this: IterableX, source2: Iterable, source3: Iterable, source4: Iterable, source5: Iterable, source6: Iterable ): IterableX<[T, T2, T3, T4, T5, T6]>; export function zipProto(this: IterableX, ...sources: Iterable[]): IterableX; export function zipProto(this: IterableX, ...args: any[]): IterableX { return zip([this, ...args]); } IterableX.prototype.zip = zipProto; declare module '../../iterable/iterablex' { interface IterableX { zip: typeof zipProto; } }