blob: e0b92ff4f6caea0e4c85c5b5384719921e5f3696 [file] [log] [blame]
declare global {
const StopIteration: (object & { readonly __brand__?: unique symbol }) | undefined;
}
declare function getStopIterationIterator<T>(origIterator: { next(): IteratorResult<T> }): Iterator<T, unknown, T>;
export = getStopIterationIterator;