Skip to content

Commit

Permalink
Merge pull request #671 from gabelevi/flow
Browse files Browse the repository at this point in the history
Update to flow v0.38.0
  • Loading branch information
robzhu committed Jan 18, 2017
2 parents c7f64bc + 2646f4a commit 9215a89
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 82 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"eslint": "3.13.1",
"eslint-plugin-babel": "4.0.0",
"eslint-plugin-flowtype": "2.30.0",
"flow-bin": "0.37.4",
"flow-bin": "0.38.0",
"isparta": "4.0.0",
"mocha": "3.2.0",
"sane": "1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion src/validation/rules/ArgumentsOfCorrectType.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function badValueMessage(
argName: string,
type: GraphQLType,
value: string,
verboseErrors?: [string]
verboseErrors?: string[]
): string {
const message = verboseErrors ? '\n' + verboseErrors.join('\n') : '';
return (
Expand Down
2 changes: 1 addition & 1 deletion src/validation/rules/DefaultValuesOfCorrectType.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function badValueForDefaultArgMessage(
varName: string,
type: GraphQLType,
value: string,
verboseErrors?: [string]
verboseErrors?: string[]
): string {
const message = verboseErrors ? '\n' + verboseErrors.join('\n') : '';
return `Variable "$${varName}" of type "${String(type)}" has invalid ` +
Expand Down

0 comments on commit 9215a89

Please sign in to comment.