Skip to content

Commit 780eacd

Browse files
authored
Flow upgrade to 0.190 (#25483)
1 parent 4e27881 commit 780eacd

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
6464
"fbjs-scripts": "1.2.0",
6565
"filesize": "^6.0.1",
66-
"flow-bin": "^0.188.0",
66+
"flow-bin": "^0.190.0",
6767
"glob": "^7.1.6",
6868
"glob-stream": "^6.1.0",
6969
"google-closure-compiler": "^20200517.0.0",

packages/react-dom-bindings/src/client/ReactDOMComponent.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ const CHILDREN = 'children';
9191
const STYLE = 'style';
9292
const HTML = '__html';
9393

94-
let warnedUnknownTags;
94+
let warnedUnknownTags: {
95+
[key: string]: boolean,
96+
};
9597

9698
let validatePropertiesInDevelopment;
9799
let warnForPropDifference;

scripts/flow/config/flowconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ untyped-type-import=error
4343
%CI_MAX_WORKERS%
4444
exact_by_default=true
4545
munge_underscores=false
46+
enforce_local_inference_annotations=false
4647

4748
# Substituted by createFlowConfig.js:
4849
%REACT_RENDERER_FLOW_OPTIONS%
4950

5051
[version]
51-
^0.188.0
52+
^0.190.0

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7912,10 +7912,10 @@ flatted@^2.0.0:
79127912
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
79137913
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
79147914

7915-
flow-bin@^0.188.0:
7916-
version "0.188.1"
7917-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.188.1.tgz#1043ec955eec8cd402ec9fb4c49054bf14368c06"
7918-
integrity sha512-tQehbFoeXKz/MZqEClBB2ezuT1HHKoBlv6t8mAoUdFk1PaFhqcEmjx+1Bn0xygykrqHy0FY6C3z+AGleOnFbdQ==
7915+
flow-bin@^0.190.0:
7916+
version "0.190.0"
7917+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.190.0.tgz#cfc50e1474facf8150232a6c498fe66a6bb75969"
7918+
integrity sha512-Qo3bvN3cmGFXsq63ZxcHFZXQDvgx84fCuq8cXuKk5xbvuebBGwMqS+ku/rH+gEkciRrcTYrXqoSzb9b6ShcoJg==
79197919

79207920
79217921
version "0.13.0"

0 commit comments

Comments
 (0)