variable mapValues
import { mapValues } from "main.ts";

Type

<K extends number | string | symbol, V, W>(object: Record<K, V>, convert: (value: V) => W) => Record<string, W>