mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
React Native 0.56 introduces Flow 0.75, which makes it impossible to refine `NavigationRoute` based on the presence of `index` or `routes` properties. This PR turns `NavigationStateRoute` and `NavigationLeafRoute` into exact types, which addresses this issue.