Function transformKeys

  • Utility to recursively format the keys according to the server argument.

    Type Parameters

    • T = Record<string, any>

    Parameters

    • attributes: Record<string, any>

      The object which should be formatted.

    • Optional casing: "camel" | "snake"

      Whether to use camelCase or snake_case.

    Returns T

Generated using TypeDoc