expressApollo.d.ts 429 B

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