UNPKG

429 BTypeScriptView Raw
1import express from 'express';
2import { GraphQLOptions } from 'apollo-server-core';
3import { ValueOrPromise } from 'apollo-server-types';
4export interface ExpressGraphQLOptionsFunction {
5 (req: express.Request, res: express.Response): ValueOrPromise<GraphQLOptions>;
6}
7export declare function graphqlExpress(options: GraphQLOptions | ExpressGraphQLOptionsFunction): express.Handler;
8//# sourceMappingURL=expressApollo.d.ts.map
\No newline at end of file