[react-router-redux] - exposing value instead of type

This commit is contained in:
Dmytro Borysov
2017-08-03 20:54:42 +02:00
parent 731e143d8c
commit b1abc81347
+2 -2
View File
@@ -25,7 +25,7 @@ export interface ConnectedRouterProps<State> {
}
export class ConnectedRouter<State> extends React.Component<ConnectedRouterProps<State>> {}
export const LOCATION_CHANGE: '@@router/LOCATION_CHANGE';
export const LOCATION_CHANGE = '@@router/LOCATION_CHANGE';
export interface RouterState {
location: Location | null;
@@ -33,7 +33,7 @@ export interface RouterState {
export const routerReducer: Reducer<RouterState>;
export const CALL_HISTORY_METHOD: '@@router/CALL_HISTORY_METHOD';
export const CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD';
export function push(location: LocationDescriptor, state?: LocationState): RouterAction;
export function replace(location: LocationDescriptor, state?: LocationState): RouterAction;