DefinitelyTyped/types/just-map-values/index.d.ts
Andrew Casey b6ded2b97e
Add just-map-values and just-safe-set types (#42739)
* Add some just functions

* Fix some tests

* Fixes for code review

* Fix tests
2020-03-04 16:12:34 -08:00

9 lines
357 B
TypeScript

// Type definitions for just-map-values 1.1
// Project: https://github.com/angus-c/just#readme
// Definitions by: Roman Lerchster <https://github.com/wa4-fearless-otter>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function map<T extends {}>(item: T, callback: (value: any, key: string, object: T) => any): {};
export = map;