UNPKG

@jsdsl/iterator

Version:

A collection of classes that allow iteration over a predefined collection of elements.

7 lines (6 loc) 260 B
import { Iterator } from "./iterator"; import { Iterable } from "./iterable"; export declare abstract class AbstractIterable<E, U = undefined> implements Iterable<E, U> { abstract iterator(): Iterator<E, U>; [Symbol.iterator](): IterableIterator<E>; }