From 6c85a05cc9649efa3a47f33dcbe40faeed1f42e5 Mon Sep 17 00:00:00 2001 From: denissb Date: Mon, 10 Dec 2018 18:09:08 +0100 Subject: [PATCH] [@types/react-navigation] Added createAppContainer method to support react-navigation 3 --- types/react-navigation/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 85b42444b1..65486dc795 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -1250,6 +1250,15 @@ export function createNavigator( export function createNavigationContainer( Component: NavigationNavigator ): NavigationContainer; + +/** + * Create an app container to wrap the root navigator + * + */ +export function createAppContainer( + Component: NavigationNavigator +): NavigationContainer; + /** * END MANUAL DEFINITIONS OUTSIDE OF TYPEDEFINITION.JS */