Skip to content

Commit

Permalink
Upgrade to Flow v0.28.
Browse files Browse the repository at this point in the history
flow check now passes for the existing v0.26 as well as v0.27 and v0.28, so upgrading to the latest version.

Fixes #412, #418, #420
  • Loading branch information
leebyron committed Jul 6, 2016
1 parent f06051e commit c7700f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"eslint-plugin-babel": "3.2.0",
"eslint-plugin-flow-vars": "^0.4.0",
"eslint-plugin-flowtype": "2.2.7",
"flow-bin": "0.26.0",
"flow-bin": "0.28.0",
"isparta": "4.0.0",
"mocha": "2.5.3",
"sane": "1.3.4"
Expand Down
6 changes: 3 additions & 3 deletions src/type/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export type GraphQLType =
GraphQLUnionType |
GraphQLEnumType |
GraphQLInputObjectType |
GraphQLList |
GraphQLNonNull;
GraphQLList<any> |
GraphQLNonNull<any>;

export function isType(type: mixed): boolean {
return (
Expand Down Expand Up @@ -158,7 +158,7 @@ export type GraphQLNullableType =
GraphQLUnionType |
GraphQLEnumType |
GraphQLInputObjectType |
GraphQLList;
GraphQLList<*>;

export function getNullableType<T: GraphQLType>(
type: ?T
Expand Down

0 comments on commit c7700f2

Please sign in to comment.