Interface GraphQLClientOptions<TTypings>

interface GraphQLClientOptions<TTypings> {
    fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>);
    init?: GraphQLRequestInit;
    typings?: TTypings;
    url: string;
}

Type Parameters

Properties

fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      • input: RequestInfo | URL
      • Optionalinit: RequestInit

      Returns Promise<Response>

typings?: TTypings
url: string