UNPKG

437 BTypeScriptView Raw
1/// <reference types="express" />
2import { RequestHandler } from 'express';
3export interface BodyParserJSONOptions {
4 limit?: number | string;
5 inflate?: boolean;
6 reviver?: any;
7 strict?: boolean;
8 type?: string;
9 verify?: any;
10}
11export declare const bodyParserGraphQL: (options?: BodyParserJSONOptions) => RequestHandler;
12export declare const graphql: (options?: BodyParserJSONOptions | undefined) => RequestHandler;