diff --git a/native/flow-typed/npm/@react-navigation/core_v6.x.x.js b/native/flow-typed/npm/@react-navigation/core_v6.x.x.js --- a/native/flow-typed/npm/@react-navigation/core_v6.x.x.js +++ b/native/flow-typed/npm/@react-navigation/core_v6.x.x.js @@ -823,10 +823,9 @@ declare export type Navigate = & SimpleNavigate & >( - route: $If< - $IsUndefined<$ElementType>, + route: | {| +key: string |} - | {| +name: DestinationRouteName, +key?: string |}, + | {| +name: DestinationRouteName, +key?: string |} | {| +key: string, +params?: EitherExactOrPartialWithMergeProperty< @@ -840,7 +839,6 @@ $ElementType, >, |}, - >, ) => void; declare type CoreNavigationHelpers<