pragmatic-fp-ts
Version:
Opinionated functional programming library with easy use in mind
8 lines (7 loc) • 395 B
TypeScript
import { Dictionary } from "./main";
type ObjKey = string | number;
export declare function into<T>(target: Dictionary<T>, coll: [ObjKey, T][]): Dictionary<T>;
export declare function into<T>(target: Dictionary<T>): (coll: [ObjKey, T][]) => Dictionary<T>;
export declare function into<T>(target: T[], coll: T[]): T[];
export declare function into<T>(target: T[]): (coll: T[]) => T[];
export {};