Files
khalij-pay/node_modules/stop-iteration-iterator/index.d.ts
2025-10-23 21:52:07 +03:30

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;