Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit aa5f478

Browse files
rodrigoelpAshoat
authored andcommitted
Fixed typing issues for typescript (#62)
1 parent ac9fe59 commit aa5f478

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ declare module 'react-navigation-redux-helpers' {
88
NavigationScreenProp
99
} from 'react-navigation';
1010
import * as React from 'react';
11-
import { Middleware, Reducer, Dispatch } from 'redux';
11+
import { Middleware, Reducer } from 'redux';
1212

1313
export type Navigator = NavigationContainer;
1414

@@ -22,5 +22,5 @@ declare module 'react-navigation-redux-helpers' {
2222
export function reduxifyNavigator<S>(
2323
navigator: Navigator,
2424
key: string,
25-
): React.ComponentType<{ state: NavigationState; dispatch: Dispatch<S> }>;
25+
): React.ComponentType<{ state: NavigationState; dispatch: NavigationDispatch }>;
2626
}

0 commit comments

Comments
 (0)