From 4696f880bae9feb45e37d394d332796f0ed87f25 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Mon, 28 Mar 2022 15:10:50 -0300 Subject: [PATCH] use any instead of never in screens HOC --- app/screens/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/screens/index.tsx b/app/screens/index.tsx index 031ab9dc3a..4fd6506f74 100644 --- a/app/screens/index.tsx +++ b/app/screens/index.tsx @@ -14,7 +14,7 @@ import {withServerDatabase} from '@database/components'; import {DEFAULT_LOCALE, getTranslations} from '@i18n'; const withGestures = (Screen: React.ComponentType, styles: StyleProp) => { - return function gestureHoc(props: never) { + return function gestureHoc(props: any) { if (Platform.OS === 'android') { return ( @@ -28,7 +28,7 @@ const withGestures = (Screen: React.ComponentType, styles: StyleProp) }; const withIntl = (Screen: React.ComponentType) => { - return function IntlEnabledComponent(props: never) { + return function IntlEnabledComponent(props: any) { return ( { }; const withSafeAreaInsets = (Screen: React.ComponentType) => { - return function SafeAreaInsets(props: never) { + return function SafeAreaInsets(props: any) { return (