Skip to content

Commit 906999d

Browse files
committed
corrected type imports in middleware
1 parent 4c2f4b7 commit 906999d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/middleware/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ import { GraphQLSchema } from 'graphql/type/schema';
44
import { Request, Response, NextFunction, RequestHandler } from 'express';
55
import buildTypeWeightsFromSchema, { defaultTypeWeightsConfig } from '../analysis/buildTypeWeights';
66
import setupRateLimiter from './rateLimiterSetup';
7-
import {
8-
ExpressMiddlewareConfig,
9-
ExpressMiddlewareSet,
10-
RequestWithVariables,
11-
} from '../@types/expressMiddleware';
7+
import { ExpressMiddlewareConfig, ExpressMiddlewareSet } from '../@types/expressMiddleware';
128
import { RateLimiterResponse } from '../@types/rateLimit';
139
import { connect } from '../utils/redis';
1410
import ASTParser from '../analysis/ASTParser';

0 commit comments

Comments
 (0)