UNPKG

@codibre/fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

10 lines (9 loc) 360 B
import { Mapper } from 'augmentative-iterable'; /** * Applies a transformation to the value of all pro * @param obj The object to be iterated with * @param mapper the mapper to be applied to each value */ export declare function transformObjValues<T extends object>(obj: T, mapper: Mapper<[keyof T, T[keyof T]], unknown>): { [key: string]: unknown; };