fix: fix type definitions

This commit is contained in:
satyajit.happy
2019-09-11 16:48:05 +02:00
parent d6232860c5
commit 8c5eba700d
5 changed files with 61 additions and 90 deletions

View File

@@ -124,7 +124,10 @@ const StackWithCustomHeaderBackImage = createStackNavigator(
},
},
{
defaultNavigationOptions: ({ theme }: NavigationScreenConfigProps) => ({
// TODO: satya164 - use stack's navigation type
defaultNavigationOptions: ({
theme,
}: NavigationScreenConfigProps<any>) => ({
headerBackImage: (
<MyCustomHeaderBackImage
style={[