UNPKG

505 BTypeScriptView Raw
1export declare class SliceIterator<T> implements Iterator<T> {
2 private source;
3 private start;
4 private end;
5 private i;
6 /**
7 * @param {Iterator<T>} source Source Iterator
8 * @param {number} start Zero-based positive start index, inclusive
9 * @param {number} end Zero-based positive end index, exclusive, defaults to end of iterator
10 */
11 constructor(source: Iterator<T>, start: number, end?: number);
12 next(): IteratorResult<T>;
13}
14//# sourceMappingURL=slice.d.ts.map
\No newline at end of file