Skip to content

Commit

Permalink
0.2.3 - Improve Query's children prop typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jun 17, 2020
1 parent 11c2181 commit 0aecced
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "apollo",
"description": "Externs for react-apollo",
"version": "0.2.2",
"releasenote": "Add @:graphql helper for external queries",
"version": "0.2.3",
"releasenote": "Improve typing for Query's children prop",
"url": "https://github.com/kLabz/haxe-apollo",
"license": "MIT",
"tags": [],
Expand Down
2 changes: 1 addition & 1 deletion src/react/apollo/Query.hx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef QueryResult<TData, TVariables> = {

typedef QueryProps<TData, TVariables> = {
var query:DocumentNode;
var children:QueryResult<TData, TVariables>->ReactElement;
var children:QueryResult<TData, TVariables>->ReactFragment;
@:optional var fetchPolicy:FetchPolicy;
@:optional var errorPolicy:ErrorPolicy;
@:optional var notifyOnNetworkStatusChange:Bool;
Expand Down

0 comments on commit 0aecced

Please sign in to comment.