Skip to content

Commit 5a7ff6e

Browse files
authored
fix: Add Response to types
2 parents 46e44f3 + 70e87b6 commit 5a7ff6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Request } from 'express'
1+
import { Request, Response } from 'express'
22
import { CorsOptions } from 'cors'
33
import {
44
GraphQLSchema,
@@ -35,6 +35,7 @@ export type Context = { [key: string]: any }
3535

3636
export interface ContextParameters {
3737
request: Request
38+
response: Response
3839
connection: ExecutionParams
3940
}
4041

0 commit comments

Comments
 (0)