diff --git a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js @@ -919,7 +919,7 @@ declare export type RouteProp< ParamList: ParamListBase, - RouteName: $Keys<ParamList>, + RouteName: $Keys<ParamList> = $Keys<ParamList>, > = {| ...LeafRoute<RouteName>, +params: $ElementType<ParamList, RouteName>, @@ -1077,6 +1077,12 @@ +Navigator: React$ComponentType<{| ...$Exact<ExtraNavigatorProps>, ...ScreenOptionsProp<ScreenOptions, NavProp>, + +screenListeners?: + | ScreenListeners<State, EventMap> + | ({| + +route: RouteProp<ParamList>, + +navigation: NavProp, + |}) => ScreenListeners<State, EventMap>, |}>, +Group: React$ComponentType<{| ...ScreenOptionsProp<ScreenOptions, NavProp>, diff --git a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js @@ -919,7 +919,7 @@ declare export type RouteProp< ParamList: ParamListBase, - RouteName: $Keys<ParamList>, + RouteName: $Keys<ParamList> = $Keys<ParamList>, > = {| ...LeafRoute<RouteName>, +params: $ElementType<ParamList, RouteName>, @@ -1077,6 +1077,12 @@ +Navigator: React$ComponentType<{| ...$Exact<ExtraNavigatorProps>, ...ScreenOptionsProp<ScreenOptions, NavProp>, + +screenListeners?: + | ScreenListeners<State, EventMap> + | ({| + +route: RouteProp<ParamList>, + +navigation: NavProp, + |}) => ScreenListeners<State, EventMap>, |}>, +Group: React$ComponentType<{| ...ScreenOptionsProp<ScreenOptions, NavProp>, diff --git a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js @@ -919,7 +919,7 @@ declare export type RouteProp< ParamList: ParamListBase, - RouteName: $Keys<ParamList>, + RouteName: $Keys<ParamList> = $Keys<ParamList>, > = {| ...LeafRoute<RouteName>, +params: $ElementType<ParamList, RouteName>, @@ -1077,6 +1077,12 @@ +Navigator: React$ComponentType<{| ...$Exact<ExtraNavigatorProps>, ...ScreenOptionsProp<ScreenOptions, NavProp>, + +screenListeners?: + | ScreenListeners<State, EventMap> + | ({| + +route: RouteProp<ParamList>, + +navigation: NavProp, + |}) => ScreenListeners<State, EventMap>, |}>, +Group: React$ComponentType<{| ...ScreenOptionsProp<ScreenOptions, NavProp>, diff --git a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js @@ -919,7 +919,7 @@ declare export type RouteProp< ParamList: ParamListBase, - RouteName: $Keys<ParamList>, + RouteName: $Keys<ParamList> = $Keys<ParamList>, > = {| ...LeafRoute<RouteName>, +params: $ElementType<ParamList, RouteName>, @@ -1077,6 +1077,12 @@ +Navigator: React$ComponentType<{| ...$Exact<ExtraNavigatorProps>, ...ScreenOptionsProp<ScreenOptions, NavProp>, + +screenListeners?: + | ScreenListeners<State, EventMap> + | ({| + +route: RouteProp<ParamList>, + +navigation: NavProp, + |}) => ScreenListeners<State, EventMap>, |}>, +Group: React$ComponentType<{| ...ScreenOptionsProp<ScreenOptions, NavProp>, diff --git a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js @@ -919,7 +919,7 @@ declare export type RouteProp< ParamList: ParamListBase, - RouteName: $Keys<ParamList>, + RouteName: $Keys<ParamList> = $Keys<ParamList>, > = {| ...LeafRoute<RouteName>, +params: $ElementType<ParamList, RouteName>, @@ -1077,6 +1077,12 @@ +Navigator: React$ComponentType<{| ...$Exact<ExtraNavigatorProps>, ...ScreenOptionsProp<ScreenOptions, NavProp>, + +screenListeners?: + | ScreenListeners<State, EventMap> + | ({| + +route: RouteProp<ParamList>, + +navigation: NavProp, + |}) => ScreenListeners<State, EventMap>, |}>, +Group: React$ComponentType<{| ...ScreenOptionsProp<ScreenOptions, NavProp>,