@reactivex/ix-es5-esm
Version:
The Interactive Extensions for JavaScript
18 lines (17 loc) • 779 B
TypeScript
import { IterableX } from '../iterablex.js';
import { MonoTypeOperatorFunction } from '../../interfaces.js';
/** @ignore */
export declare class EndWithIterable<TSource> extends IterableX<TSource> {
private _source;
private _args;
constructor(source: Iterable<TSource>, args: TSource[]);
[Symbol.iterator](): Generator<TSource, void, unknown>;
}
/**
* Append values to an iterable sequence.
*
* @template TSource The type of the elements in the source sequence.
* @param {...TSource[]} args The values to append to the end of the iterable sequence.
* @returns {MonoTypeOperatorFunction<TSource>} An operator which appends values to the end of the sequence.
*/
export declare function endWith<TSource>(...args: TSource[]): MonoTypeOperatorFunction<TSource>;