OverviewFilesCommitsIssuesDocsReleasesPeers

mirall-cli / node_modules / stop-iteration-iterator / index.d.ts

7 lines · typescript ref:
declare global {
    const StopIteration: (object & { readonly __brand__?: unique symbol }) | undefined;
}

declare function getStopIterationIterator<T>(origIterator: { next(): IteratorResult<T> }): Iterator<T, unknown, T>;

export = getStopIterationIterator;