diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 1622bfe2a4..e5e9ea00d8 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -88,6 +88,11 @@ export interface NavigationState { routes: NavigationRoute[]; } +export interface DrawerNavigationState extends NavigationState { + isDrawerOpen: boolean; + isTransitioning: boolean; +} + export type NavigationRoute = | NavigationLeafRoute | NavigationStateRoute;