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 @@ -1391,10 +1391,9 @@ * Stack options */ - declare export type StackDescriptor = Descriptor< - StackNavigationHelpers<>, - StackOptions, - >; + declare export type StackDescriptor< + Helpers = StackNavigationHelpers<>, + > = Descriptor; declare export type StackHeaderProps = {| ...HeaderProps, StackOptions>, diff --git a/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js --- a/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js +++ b/native/flow-typed/npm/@react-navigation/stack_v6.x.x.js @@ -25,12 +25,14 @@ * StackView */ - declare export var StackView: React$ComponentType<{| + declare export function StackView< + Helpers = StackNavigationHelpers<>, + >(props: {| ...StackNavigationConfig, +state: StackNavigationState, - +navigation: StackNavigationHelpers<>, - +descriptors: {| +[key: string]: StackDescriptor |}, - |}>; + +navigation: Helpers, + +descriptors: {| +[key: string]: StackDescriptor |}, + |}): React$Node; /** * createStackNavigator