Skip to content

Commit 9215a89

Browse files
authored
Merge pull request #671 from gabelevi/flow
Update to flow v0.38.0
2 parents c7f64bc + 2646f4a commit 9215a89

File tree

4 files changed

+86
-82
lines changed

4 files changed

+86
-82
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"eslint": "3.13.1",
7070
"eslint-plugin-babel": "4.0.0",
7171
"eslint-plugin-flowtype": "2.30.0",
72-
"flow-bin": "0.37.4",
72+
"flow-bin": "0.38.0",
7373
"isparta": "4.0.0",
7474
"mocha": "3.2.0",
7575
"sane": "1.5.0"

src/validation/rules/ArgumentsOfCorrectType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function badValueMessage(
1919
argName: string,
2020
type: GraphQLType,
2121
value: string,
22-
verboseErrors?: [string]
22+
verboseErrors?: string[]
2323
): string {
2424
const message = verboseErrors ? '\n' + verboseErrors.join('\n') : '';
2525
return (

src/validation/rules/DefaultValuesOfCorrectType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function badValueForDefaultArgMessage(
3030
varName: string,
3131
type: GraphQLType,
3232
value: string,
33-
verboseErrors?: [string]
33+
verboseErrors?: string[]
3434
): string {
3535
const message = verboseErrors ? '\n' + verboseErrors.join('\n') : '';
3636
return `Variable "$${varName}" of type "${String(type)}" has invalid ` +

0 commit comments

Comments
 (0)