UNPKG

iter-tools-es

Version:
4 lines 297 B
import { Wrappable, IterableIterator } from '../../types/iterable'; declare function map<O, T>(func: (value: T, i: number) => O): (source: Wrappable<T>) => IterableIterator<O>; declare function map<O, T>(func: (value: T, i: number) => O, source: Wrappable<T>): IterableIterator<O>; export { map };