react/scripts/flow
Sam Zhou e210d08180
[flow] Upgrade Flow to 0.245.2 (#30919)
## Summary

This PR bumps Flow all the way to the latest 0.245.2. 

Most of the suppressions comes from Flow v0.239.0's change to include
undefined in the return of `Array.pop`.

I also enabled `react.custom_jsx_typing=true` and added custom jsx
typing to match the old behavior that `React.createElement` is
effectively any typed. This is necessary since various builtin
components like `React.Fragment` is actually symbol in the React repo
instead of `React.AbstractComponent<...>`. It can be made more accurate
by customizing the `React$CustomJSXFactory` type, but I will leave it to
the React team to decide.

## How did you test this change?

`yarn flow` for all the renderers
2024-09-09 08:41:44 -07:00
..
config [flow] Upgrade Flow to 0.245.2 (#30919) 2024-09-09 08:41:44 -07:00
createFlowConfigs.js [flow] Remove CI_MAX_WORKERS option 2024-08-20 12:38:27 -04:00
environment.js [flow] Upgrade Flow to 0.245.2 (#30919) 2024-09-09 08:41:44 -07:00
react-devtools.js chore[react-devtools]: add global for native and use it to fork backend implementation (#30533) 2024-08-02 10:51:15 +01:00
react-native-host-hooks.js Upgrade flow to 0.233.0 (#30116) 2024-07-08 13:48:24 -04:00
runFlow.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
xplat.js Update RN dynamic flag types (#28427) 2024-03-22 12:23:38 -04:00