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 @@ -2158,6 +2158,11 @@ +isReady: () => boolean, |}; + declare type BaseNavigationContainerInterfaceRef = {| + ...BaseNavigationContainerInterface, + +current: BaseNavigationContainerInterface | null, + |}; + /** * State utils */ 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 @@ -2158,6 +2158,11 @@ +isReady: () => boolean, |}; + declare type BaseNavigationContainerInterfaceRef = {| + ...BaseNavigationContainerInterface, + +current: BaseNavigationContainerInterface | null, + |}; + /** * State utils */ 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 @@ -2158,6 +2158,11 @@ +isReady: () => boolean, |}; + declare type BaseNavigationContainerInterfaceRef = {| + ...BaseNavigationContainerInterface, + +current: BaseNavigationContainerInterface | null, + |}; + /** * State utils */ 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 @@ -2158,6 +2158,11 @@ +isReady: () => boolean, |}; + declare type BaseNavigationContainerInterfaceRef = {| + ...BaseNavigationContainerInterface, + +current: BaseNavigationContainerInterface | null, + |}; + /** * State utils */ @@ -2403,6 +2408,12 @@ declare export var NavigationContainer: NavigationContainerType; + declare export function createNavigationContainerRef( + ): BaseNavigationContainerInterfaceRef; + + declare export function useNavigationContainerRef( + ): BaseNavigationContainerInterfaceRef; + /** * useBackButton */ 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 @@ -2158,6 +2158,11 @@ +isReady: () => boolean, |}; + declare type BaseNavigationContainerInterfaceRef = {| + ...BaseNavigationContainerInterface, + +current: BaseNavigationContainerInterface | null, + |}; + /** * State utils */