UNPKG

graphql-yoga

Version:

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

5 lines (4 loc) 273 B
import { MaybePromise } from '@whatwg-node/promise-helpers'; import { GraphQLParams } from '../../types.cjs'; export declare function isPOSTJsonRequest(request: Request): boolean; export declare function parsePOSTJsonRequest(request: Request): MaybePromise<GraphQLParams>;