Move react type definitions back into global libdefs

Summary: Changelog: [Internal]

Reviewed By: panagosg7

Differential Revision: D70261002

fbshipit-source-id: 83c0f5b2e2717e19a211553bd4b07e9481ec7c65
This commit is contained in:
Sam Zhou
2025-02-26 12:20:39 -08:00
committed by Facebook GitHub Bot
parent a6607c07cd
commit bf17ace09a
@@ -214,7 +214,7 @@ class TouchableBounce extends React.Component<Props, State> {
}
}
export default (React.forwardRef((props, hostRef) => (
export default (React.forwardRef((props, hostRef: React.RefSetter<mixed>) => (
<TouchableBounce {...props} hostRef={hostRef} />
)): component(
ref: React.RefSetter<mixed>,