UNPKG

306 BTypeScriptView Raw
1declare module "@extra-set/map" {
2import type { mapFn } from "./_types";
3/**
4 * Updates values based on map function.
5 * @param x a set
6 * @param ft map function (v, v, x)
7 */
8declare function map<T, U = T>(x: Iterable<T>, ft: mapFn<T, T | U>): Set<T | U>;
9export = map;
10//# sourceMappingURL=map.d.ts.map}