📄 index.d.ts
/home/palash/git/site/node_modules/stop-iteration-iterator/index.d.ts
Language: ts • Lines: 7
declare global {
    const StopIteration: (object & { readonly __brand__?: unique symbol }) | undefined;
}

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

export = getStopIterationIterator;