diff --git a/.flowconfig b/.flowconfig index 846e650d6f..7189ee96ae 100644 --- a/.flowconfig +++ b/.flowconfig @@ -10,6 +10,7 @@ emoji=true format.bracket_spacing=false munge_underscores=true +conditional_type=true module.name_mapper='\(metro-[^/]*\)' -> '/packages/\1/src/index.js' @@ -40,4 +41,4 @@ untyped-import untyped-type-import [version] -^0.208.1 +^0.209.0 diff --git a/package.json b/package.json index b7d01ecb18..9eb6e5e312 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.30.1", "eslint-plugin-relay": "^1.8.3", - "flow-bin": "^0.208.1", + "flow-bin": "^0.209.0", "glob": "^7.1.1", "hermes-eslint": "0.12.0", "invariant": "^2.2.4", diff --git a/yarn.lock b/yarn.lock index 1b529a1d37..1917ead884 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3079,10 +3079,10 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA== -flow-bin@^0.208.1: - version "0.208.1" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.208.1.tgz#98390cc968980988d9c7ddbcf7233b53baa0b616" - integrity sha512-sr+gCnYg5UC/lbrCj/qO2GDSGzV75HDl8drEHX/Dpjr5gS+NYoFQ1r9C9ESAeYpakmiot/HPdKYOjCFtqUcsQA== +flow-bin@^0.209.0: + version "0.209.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.209.0.tgz#616a002b94ef35e1b083add9a6d27dbe387bf4f0" + integrity sha512-HRc6+bKE8AN23SnuKaxdUjcQcjaIp6pksrGJ6pltFO5tIEvZmPrbT99P7Yb3ybqwcKU/Ry8yfJbuW92Ed2V3nw== for-in@^1.0.2: version "1.0.2"