UNPKG

@marceloclp/monzojs

Version:

Unofficial wrapper for the Monzo API written in TypeScript.

10 lines (9 loc) 349 B
/** * Returns a new object with each key-value pair remapped to a newKey-value * pair. * * @param object - the object to be remapped * @param toString - a function to generate a new key for each pair */ declare const remapObject: <R extends Object = Object>(object: Object, toString: (key: string) => string) => R; export default remapObject;