UNPKG

super-utils-plus

Version:

A superior alternative to Lodash with improved performance, TypeScript support, and developer experience

9 lines (8 loc) 267 B
import { PropertyName } from '../utils/types'; /** * Creates an object from key-value pairs. * * @param pairs - The key-value pairs * @returns The composed object */ export declare function fromPairs<T = any>(pairs: Array<[PropertyName, T]>): Record<string, T>;