• Type Parameters

    • T extends Record<string, any>

    Parameters

    • f: (v: string) => string
    • x: T

    Returns T