From 7857023048e092f4155a435ce3654b50f74af44a Mon Sep 17 00:00:00 2001 From: DevmateXplatFlowFixMeFBFoundation Bot Date: Sun, 11 Oct 2026 17:03:07 -0700 Subject: [PATCH] xplat/js/react-native-github/packages/react-native/Libraries/Components/Touchable/TouchableOpacity.js Differential Revision: D124619927 --- .../Libraries/Components/Touchable/TouchableOpacity.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native/Libraries/Components/Touchable/TouchableOpacity.js b/packages/react-native/Libraries/Components/Touchable/TouchableOpacity.js index 6f86c40f369d..7a41f71c13ad 100644 --- a/packages/react-native/Libraries/Components/Touchable/TouchableOpacity.js +++ b/packages/react-native/Libraries/Components/Touchable/TouchableOpacity.js @@ -174,9 +174,9 @@ class TouchableOpacity extends React.Component< } _getChildStyleOpacityWithDefault(): number { - // $FlowFixMe[underconstrained-implicit-instantiation] - // $FlowFixMe[prop-missing] - const opacity = flattenStyle(this.props.style)?.opacity; + const opacity = flattenStyle>( + this.props.style, + )?.opacity; return typeof opacity === 'number' ? opacity : 1; }