@snipsonian/redux-first-router
Version:
Redux-first-router snippets
10 lines (9 loc) • 348 B
TypeScript
import { Location, LocationState } from 'redux-first-router';
export declare const DEFAULT_REDUCER_KEY = "route";
export interface IReducerState<RouteKey extends string> extends LocationState {
type: RouteKey;
prev: IPrevLocation<RouteKey>;
}
export interface IPrevLocation<RouteKey extends string> extends Location {
type: RouteKey;
}