fix: improve type definitions

This commit is contained in:
satyajit.happy
2019-09-12 16:14:48 +02:00
parent d1ec360902
commit e3d2ce12c3
2 changed files with 6 additions and 5 deletions

View File

@@ -227,7 +227,7 @@ const StackWithTranslucentHeader = createStackNavigator(
},
},
{
defaultNavigationOptions: ({ theme }) => ({
defaultNavigationOptions: ({ theme }: { theme: SupportedThemes }) => ({
headerBackground:
Platform.OS === 'ios' ? (
<BlurView