Skip to content

Commit

Permalink
Update to flow-bin@0.78
Browse files Browse the repository at this point in the history
Ref #1172
  • Loading branch information
necolas committed Dec 30, 2018
1 parent 78bde31 commit 596c70f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
10 changes: 9 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[version]
^0.63.0
^0.78.0

[ignore]
<PROJECT_ROOT>/.*/__tests__/.*
Expand All @@ -15,3 +15,11 @@

[options]

[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.63.1",
"flow-bin": "^0.78.0",
"glob": "^7.1.2",
"husky": "^0.14.3",
"jest": "^22.4.3",
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-web/src/exports/Clipboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default class Clipboard {
static isAvailable() {
if (clipboardAvailable === undefined) {
clipboardAvailable =
// $FlowFixMe
typeof document.queryCommandSupported === 'function' &&
document.queryCommandSupported('copy');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @noflow
*/

const emptyArray = [];
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4621,9 +4621,9 @@ flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"

flow-bin@^0.63.1:
version "0.63.1"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.63.1.tgz#ab00067c197169a5fb5b4996c8f6927b06694828"
flow-bin@^0.78.0:
version "0.78.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.78.0.tgz#df9fe7f9c9a2dfaff39083949fe2d831b41627b7"

flow-parser@^0.*:
version "0.76.0"
Expand Down

0 comments on commit 596c70f

Please sign in to comment.