Installation
npm install --save @types/object-map
Summary
This package contains type definitions for object-map (https://github.com/xixixao/object-map).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/object-map.
index.d.ts
declare function objectMap<TInput, TOutput, TThis>(
target: { [k: string]: TInput },
callback: (this: TThis, currentValue: TInput, key: string, object: { [k: string]: TInput }) => TOutput,
thisArg?: TThis,
): { [k: string]: TOutput };
export = objectMap;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Wolfgang Faust.