@graphiql/toolkit
Version:
Utility to build a fetcher for GraphiQL
13 lines (10 loc) • 327 B
TypeScript
import { CreateFetcherOptions, Fetcher } from './types.js';
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 };