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 @@ -822,26 +822,16 @@ declare export type Navigate = & SimpleNavigate - & >( - route: $If< - $IsUndefined<$ElementType>, + & (>( + route: | {| +key: string |} - | {| +name: DestinationRouteName, +key?: string |}, - | {| - +key: string, - +params?: EitherExactOrPartialWithMergeProperty< - $ElementType, - >, - |} - | {| - +name: DestinationRouteName, + | {| +name: DestinationRouteName, +key?: string |} + | {| + +name: DestinationRouteName, +key?: string, - +params?: EitherExactOrPartialWithMergeProperty< - $ElementType, - >, + +params?: $ElementType, |}, - >, - ) => void; + ) => void); declare type CoreNavigationHelpers< ParamList: ParamListBase,