UNPKG

@graphql-mesh/http

Version:
4 lines (3 loc) 342 B
import { MeshInstance } from '@graphql-mesh/runtime'; import { CORSOptions } from 'graphql-yoga'; export declare const graphqlHandler: (getBuiltMesh: () => Promise<MeshInstance>, playgroundTitle: string, playgroundEnabled: boolean, graphqlEndpoint: string, corsConfig: CORSOptions) => (request: Request, ...args: any[]) => Promise<Response>;