Files
wangxiaowei 5d7b75a14e first commit
2025-12-09 13:35:21 +08: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;