1 | declare function IteratorNext<T, TReturn = any, TNext = unknown>(
|
2 | iterator: Iterator<T, TReturn, TNext>,
|
3 | value?: TNext,
|
4 | ): IteratorResult<T, TReturn>;
|
5 | declare function IteratorNext<T, TReturn = any, TNext = unknown>(
|
6 | iterator: AsyncIterator<T, TReturn, TNext>,
|
7 | value?: TNext,
|
8 | ): Promise<IteratorResult<T, TReturn>>;
|
9 | declare function IteratorNext<T, TReturn = any, TNext = unknown>(
|
10 | iterator: Iterator<T, TReturn, TNext> | AsyncIterator<T, TReturn, TNext>,
|
11 | value?: TNext,
|
12 | ): IteratorResult<T, TReturn> | Promise<IteratorResult<T, TReturn>>;
|
13 | export = IteratorNext;
|