From 6fe41fe2e72992ce874addcfa3dde803bca5910d Mon Sep 17 00:00:00 2001 From: Alec Winograd Date: Wed, 17 Jan 2018 18:52:58 +0100 Subject: [PATCH] [react-navigation] refine type for createNavigationContainer (#22922) --- types/react-navigation/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 3418004b60..bcef405be9 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -693,7 +693,7 @@ export function createNavigator( */ export function createNavigationContainer( Component: NavigationNavigator -): React.Component; +): NavigationContainer; /** * END MANUAL DEFINITIONS OUTSIDE OF TYPEDEFINITION.JS */