Function objectToQueryString

  • Converts an object to a query string.

    Type Parameters

    • T extends Record<PropertyKey, any>

    Parameters

    • data: T

      The object to convert.

    Returns string

    The query string representation of data.