UNPKG

265 BTypeScriptView Raw
1/**
2 * @param items The items
3 * @param method The method to use to get the `Iterator`
4 */
5declare function IterableToList<T>(items: Iterable<T>): T[];
6declare function IterableToList<O, T>(items: O, method: (this: O) => Iterator<T>): T[];
7export = IterableToList;