An Object-specific version of map. Original source: https://stackoverflow.com/questions/53964071/how-to-dynamically-create-mapped-type-in-typescript
map
ramda has a similar function (mapObjIndexed()) with different parameter order. I keep this parameter order because this parameter order provides better type inference.
ramda
mapObjIndexed()
An Object-specific version of
map
. Original source: https://stackoverflow.com/questions/53964071/how-to-dynamically-create-mapped-type-in-typescriptramda
has a similar function (mapObjIndexed()
) with different parameter order. I keep this parameter order because this parameter order provides better type inference.