Skip to content

Commit

Permalink
Merge pull request #3386 from reosarevok/flow-246
Browse files Browse the repository at this point in the history
Update Flow to 0.248.1
  • Loading branch information
reosarevok authored Oct 17, 2024
2 parents 50b6e6b + 00e9525 commit 4abc0a5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"flow-bin": "0.245.2",
"flow-bin": "0.248.1",
"gettext-parser": "4.2.0",
"globals": "15.9.0",
"hermes-eslint": "0.23.0",
Expand Down
2 changes: 1 addition & 1 deletion root/static/scripts/common/MB.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const MB: {[namespace: string]: {...}, ...} = {
constants,
};

// $FlowIgnore[cannot-write]
// $FlowIgnore[prop-missing]
globalThis.MB = MB;

export default MB;
4 changes: 1 addition & 3 deletions root/static/scripts/edit/components/withLoadedTypeInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export default function withLoadedTypeInfo<Config, Instance = mixed>(
): React.AbstractComponent<Config, Instance> {
const ComponentWrapper = React.forwardRef((
props: Config,
ref:
| {-current: Instance | null, ...}
| ((Instance | null) => mixed),
ref: React.RefSetter<Instance>,
) => {
const [isLoading, setLoading] = React.useState<boolean>(true);

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4429,12 +4429,12 @@ __metadata:
languageName: node
linkType: hard

"flow-bin@npm:0.245.2":
version: 0.245.2
resolution: "flow-bin@npm:0.245.2"
"flow-bin@npm:0.248.1":
version: 0.248.1
resolution: "flow-bin@npm:0.248.1"
bin:
flow: cli.js
checksum: 10c0/e93d960260f8f2d30811add061190fd9a6efc6da8354b9aeb1047f1184724e1e20d50d5a4eba35edf792fa226ccd4d6ef7e21d3ebb804201968dea5de1f2b9aa
checksum: 10c0/bcd4944db4970bc6361cc7701eca3e86c6fef96904368d417747c05f21c90e686c5a26f55e713da1a9c50bc65c50e53f6d7312c9a4332675c71c9946b87e6901
languageName: node
linkType: hard

Expand Down Expand Up @@ -6378,7 +6378,7 @@ __metadata:
eslint-plugin-simple-import-sort: "npm:^7.0.0"
fast-diff: "npm:1.3.0"
filesize: "npm:10.1.4"
flow-bin: "npm:0.245.2"
flow-bin: "npm:0.248.1"
generic-diff: "npm:1.0.1"
gettext-parser: "npm:4.2.0"
globals: "npm:15.9.0"
Expand Down

0 comments on commit 4abc0a5

Please sign in to comment.