mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
parent
31e2829a1b
commit
4baa153d2c
16
types/react-router-redux/index.d.ts
vendored
16
types/react-router-redux/index.d.ts
vendored
@ -59,4 +59,20 @@ export interface RouterAction extends Action {
|
||||
payload: LocationActionPayload;
|
||||
}
|
||||
|
||||
export interface LocationChangeAction extends Action {
|
||||
type: typeof LOCATION_CHANGE;
|
||||
payload: Location & {
|
||||
props?: {
|
||||
match: {
|
||||
path: string;
|
||||
url: string;
|
||||
params: any;
|
||||
isExact: boolean;
|
||||
},
|
||||
location: Location;
|
||||
history: History;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export function routerMiddleware(history: History): Middleware;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user