diff --git a/native/components/gesture-touchable-opacity.react.js b/native/components/gesture-touchable-opacity.react.js --- a/native/components/gesture-touchable-opacity.react.js +++ b/native/components/gesture-touchable-opacity.react.js @@ -65,8 +65,12 @@ const stickyActiveEnabled = stickyActive !== null && stickyActive !== undefined; - const longPressState = useSharedValue(-1); - const tapState = useSharedValue(-1); + const longPressState = useSharedValue<$Values>( + GestureState.UNDETERMINED, + ); + const tapState = useSharedValue<$Values>( + GestureState.UNDETERMINED, + ); const longPressEvent = useAnimatedGestureHandler( { onStart: () => {