HomePhabricator
Diffusion Comm c4c59eb37be6

[Flow202][native][skip-ci] [16/x] Type React.forwardRef input functions

Description

[Flow202][native][skip-ci] [16/x] Type React.forwardRef input functions

Summary:
This is the native equivalent of D9769. The new version of Flow needs all function parameters to have typehints.

NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.

Depends on D9999

Test Plan: Confirm the Flow errors go away

Reviewers: atul, tomek

Reviewed By: tomek

Differential Revision: https://phab.comm.dev/D10000

Details

Provenance
ashoatAuthored on Nov 16 2023, 12:05 PM
Reviewer
tomek
Differential Revision
D10000: [Flow202][native][skip-ci] [16/x] Type React.forwardRef input functions
Parents
rCOMMfacbb98adda5: [Flow202][native][skip-ci] [15/x] Move unboundStyles to the top
Branches
Unknown
Tags
Unknown