fix: set proper type for screenProps in ScreenComponent

This commit is contained in:
satyajit.happy
2019-09-22 00:58:01 +02:00
parent ad8c2cad4b
commit 25d3e96d0e
5 changed files with 13 additions and 12 deletions

View File

@@ -143,7 +143,8 @@ export type NavigationStackScreenComponent<
> = React.ComponentType<NavigationStackScreenProps<Params, ScreenProps>> & {
navigationOptions?: NavigationScreenConfig<
NavigationStackOptions,
NavigationStackProp<NavigationRoute, Params>
NavigationStackProp<NavigationRoute, Params>,
ScreenProps
>;
};