UNPKG

351 BTypeScriptView Raw
1import { MiddlewareFunction, NestMiddleware } from '@nestjs/common';
2import { GraphQLFactory } from '@nestjs/graphql';
3export declare class GraphQLMiddleware implements NestMiddleware {
4 private readonly graphqlFactory;
5 constructor(graphqlFactory: GraphQLFactory);
6 private generateSchema;
7 resolve(...args: any[]): MiddlewareFunction;
8}