mimicry-js
Version:
TS library for generating fake data for tests
4 lines • 311 B
TypeScript
export declare function map<InputObject extends object, Key extends keyof InputObject, ResultValue = any>(object: InputObject, callback: (value: InputObject[Key], key: Key, current: Readonly<{
[key in Key]?: ResultValue;
}>) => ResultValue): { [key in Key]: ResultValue; };
//# sourceMappingURL=map.d.ts.map