Files
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

7 lines
259 B
TypeScript

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