Files

7 lines
259 B
TypeScript
Raw Permalink Normal View History

2026-02-04 00:11:19 +05:00
declare global {
const StopIteration: (object & { readonly __brand__?: unique symbol }) | undefined;
}
declare function getStopIterationIterator<T>(origIterator: { next(): IteratorResult<T> }): Iterator<T, unknown, T>;
export = getStopIterationIterator;