Skip to content

Commit

Permalink
fix for dist/index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Divyendu Singh committed Apr 17, 2018
1 parent 21005c9 commit c449866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface BodyParserJSONOptions {
verify?: any,
}

export const bodyParserGraphQL: () => RequestHandler = (options?: BodyParserJSONOptions) => (
export const bodyParserGraphQL: (options?: BodyParserJSONOptions) => RequestHandler = (options?: BodyParserJSONOptions) => (
req: Request,
res: Response,
next: NextFunction
Expand Down

0 comments on commit c449866

Please sign in to comment.