1 | /**
|
2 | * @param obj The iterable
|
3 | * @param method The method to use to get the `Iterator`
|
4 | */
|
5 | declare function GetIterator<I extends Iterator<unknown, unknown, unknown>>(obj: { [Symbol.iterator](): I }): I;
|
6 | declare function GetIterator<O, I extends Iterator<unknown, unknown, unknown>>(obj: O, method: (this: O) => I): I;
|
7 | export = GetIterator;
|