Skip to content

Commit

Permalink
fix: update flow till v0.118 & update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Feb 15, 2020
1 parent 330e2c6 commit 1c5d0ee
Show file tree
Hide file tree
Showing 5 changed files with 1,860 additions and 1,596 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@

[options]
esproposal.class_instance_fields=enable
esproposal.optional_chaining=enable
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"eslint.validate": ["javascript"],
"javascript.validate.enable": false,
"javascript.autoClosingTags": false,
"eslint.autoFixOnSave": true
"eslint.autoFixOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,28 @@
"graphql-compose": "^7.0.4"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"@babel/preset-flow": "^7.0.0",
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
"@babel/plugin-transform-flow-strip-types": "7.8.3",
"@babel/plugin-transform-runtime": "7.8.3",
"@babel/preset-env": "7.8.4",
"@babel/preset-flow": "7.8.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"eslint": "^6.6.0",
"babel-jest": "25.1.0",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.5.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"flow-bin": "^0.110.0",
"graphql": "14.5.8",
"graphql-compose": "^7.4.2",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-prettier": "3.1.2",
"flow-bin": "0.118.0",
"graphql": "14.6.0",
"graphql-compose": "7.12.0",
"jest": "25.1.0",
"prettier": "1.19.1",
"rimraf": "3.0.2",
"semantic-release": "^15.13.28"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/connectionResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function prepareConnectionResolver<TSource, TContext>(
type: 'String',
description: 'Backward pagination argument for returning at most last edges',
},
...additionalArgs,
...(additionalArgs: any),
sort: {
type: sortEnumType,
defaultValue,
Expand Down
Loading

0 comments on commit 1c5d0ee

Please sign in to comment.