Files
30-seconds-of-code/node_modules/graphql-playground-middleware-express/dist/index.d.ts
2019-08-20 15:52:05 +02:00

7 lines
362 B
TypeScript

import { Request, Response } from 'express';
import { MiddlewareOptions } from 'graphql-playground-html';
export declare type ExpressPlaygroundMiddleware = (req: Request, res: Response, next: () => void) => void;
export declare type Register = (options: MiddlewareOptions) => ExpressPlaygroundMiddleware;
declare const express: Register;
export default express;