[react-router-redux] #18918 fixed ConnectedRouter definition (#18919)

This commit is contained in:
839
2017-08-14 11:48:44 -07:00
committed by Mohamed Hegazy
parent 279f799050
commit f6472a30b3
+2 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for react-router-redux 5.0
// Project: https://github.com/ReactTraining/react-router/tree/master/packages/react-router-redux
// Definitions by: Huy Nguyen <https://github.com/huy-nguyen>
// Shoya Tanaka <https://github.com/8398a7>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -23,7 +24,7 @@ export interface ConnectedRouterProps<State> {
store?: Store<State>;
history?: History;
}
export class ConnectedRouter<State> extends React.Component<ConnectedRouterProps<State>> {}
export class ConnectedRouter<State> extends React.Component<ConnectedRouterProps<State>, {}> {}
export const LOCATION_CHANGE = '@@router/LOCATION_CHANGE';