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 (