@graphiql/toolkit
Version:
Utility to build a fetcher for GraphiQL
13 lines (10 loc) • 328 B
text/typescript
import { CreateFetcherOptions, Fetcher } from './types.mjs';
import 'graphql';
import 'graphql-ws';
/**
* build a GraphiQL fetcher that is:
* - backwards compatible
* - optionally supports graphql-ws or `
*/
declare function createGraphiQLFetcher(options: CreateFetcherOptions): Fetcher;
export { createGraphiQLFetcher };