Function createQuery

  • Creates a reusable query function.

    Returns never

    You must configure the generic argument T

    compile error

    Jeongho Nam - https://github.com/samchon

  • Creates a reusable query function.

    Type Parameters

    • T extends object

      The type of the query object

    Returns ((input: string | URLSearchParams) => T)

    A reusable query function

      • (input): T
      • Parameters

        • input: string | URLSearchParams

        Returns T

    Jeongho Nam - https://github.com/samchon