Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Fix Flow error introduced in 63ea52b
Browse files Browse the repository at this point in the history
Now detected by Flow 0.47.0.
  • Loading branch information
wincent committed May 26, 2017
1 parent 36239a6 commit 99f88df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -39,7 +39,7 @@ import type { $Request, $Response } from 'express';
* that returns an Object or a Promise for an Object.
*/
export type Options =
((request: $Request, response: $Response) => OptionsResult)
((request: $Request, response: $Response, params?: GraphQLParams) => OptionsResult)
| OptionsResult;
export type OptionsResult = OptionsData | Promise<OptionsData>;
export type OptionsData = {
Expand Down

0 comments on commit 99f88df

Please sign in to comment.