UNPKG

graphql-yoga

Version:

<div align="center"><img src="./website/public/cover.png" width="720" /></div>

4 lines (3 loc) 320 B
import { IExecutableSchemaDefinition } from '@graphql-tools/schema'; import { GraphQLSchemaWithContext, YogaInitialContext } from './types.js'; export declare function createSchema<TContext = {}>(opts: IExecutableSchemaDefinition<TContext & YogaInitialContext>): GraphQLSchemaWithContext<TContext & YogaInitialContext>;