#Type for a function that maps certain object values types to another types

3 messages · Page 1 of 1 (latest)

outer kindle
#

I have a function that takes a Record<string, any>, and produces the same thing, but with every Date mapped to some other object.

How do I type this function?

#

Type for a function that maps certain object values types to another types

#

I got it