mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47596 Improves the Flow type of `usePressability` so that if the `config` argument is non-nullable, the return value is non-nullable. This helps reduce unnecessary null checks. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D65908791 fbshipit-source-id: 77de4391d8141d698a5689e617b692b337d01ae5