fix: fix typo in definitions

This commit is contained in:
satyajit.happy
2019-09-09 23:01:45 +02:00
parent eebfeadf3e
commit bb9f26ecdf

View File

@@ -219,7 +219,7 @@ declare module 'react-navigation' {
Params = NavigationParams,
Options = {},
Props = {}
> = React.ComponentType<Navigationunknown<Params, Options> & Props> & {
> = React.ComponentType<NavigationScreenProps<Params, Options> & Props> & {
navigationOptions?: NavigationScreenConfig<Options>;
};
@@ -819,7 +819,7 @@ declare module 'react-navigation' {
* BEGIN CUSTOM CONVENIENCE INTERFACES
*/
export interface Navigationunknown<
export interface NavigationScreenProps<
Params = NavigationParams,
Options = any
> {