# 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?