UNPKG

@graphql-mesh/serve-runtime

Version:
6 lines (5 loc) 380 B
import { YogaServerInstance } from 'graphql-yoga'; import { MeshHTTPHandlerConfiguration as MeshServeRuntimeConfiguration } from './types'; export declare function createServeRuntime<TServerContext, TUserContext = {}>(config: MeshServeRuntimeConfiguration<TServerContext, TUserContext>): YogaServerInstance<TServerContext, TUserContext> & { invalidateUnifiedGraph(): void; };