From 764a8a745cc60063e1b54399ff69215d6734324f Mon Sep 17 00:00:00 2001 From: Dimitry Date: Mon, 24 Sep 2018 10:26:34 +0300 Subject: [PATCH] Support params in generic withNavigation HOC --- types/react-navigation/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 1e6211926e..e671e6c9ac 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -1238,9 +1238,9 @@ export interface NavigationInjectedProps

{ navigation: NavigationScreenProp; } -export function withNavigation( - Component: React.ComponentType -): React.ComponentType> }>; +export function withNavigation( + Component: React.ComponentType> +): React.ComponentType>> }>; export interface NavigationFocusInjectedProps extends NavigationInjectedProps { isFocused: boolean;