import { IterableX } from '../../iterable/iterablex.js'; import { ConcatIterable } from '../../iterable/concat.js'; /** * @ignore */ export function concatProto(this: IterableX): IterableX; /** * @ignore */ export function concatProto(this: IterableX, v2: Iterable): IterableX; export function concatProto( this: IterableX, v2: Iterable, v3: Iterable ): IterableX; /** * @ignore */ export function concatProto( this: IterableX, v2: Iterable, v3: Iterable, v4: Iterable ): IterableX; /** * @ignore */ export function concatProto( this: IterableX, v2: Iterable, v3: Iterable, v4: Iterable, v5: Iterable ): Iterable; /** * @ignore */ export function concatProto( this: IterableX, v2: Iterable, v3: Iterable, v4: Iterable, v5: Iterable, v6: Iterable ): Iterable; /** * @ignore */ export function concatProto(this: IterableX, ...args: Iterable[]): IterableX { // @ts-ignore return new ConcatIterable([this, ...args]); } IterableX.prototype.concat = concatProto; declare module '../../iterable/iterablex' { interface IterableX { concat: typeof concatProto; } }