Type alias FetchFunction

FetchFunction: ((query, variables?) => Promise<any>)

Type declaration

    • (query, variables?): Promise<any>
    • Parameters

      • query: string
      • Optional variables: Record<string, unknown>

      Returns Promise<any>