Skip to content

Commit

Permalink
add isFirstRendering property to RouterState interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TetsuyaNegishi committed Apr 2, 2019
1 parent d6502d3 commit 4bcbc71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.d.ts
Expand Up @@ -28,7 +28,11 @@ declare module 'connected-react-router' {

export interface LocationChangeAction {
type: typeof LOCATION_CHANGE;
payload: RouterState;
payload: LocationChangePayload;
}

export interface LocationChangePayload extends RouterState{
isFirstRendering: boolean;
}

export interface CallHistoryMethodAction<A = any[]> {
Expand Down

0 comments on commit 4bcbc71

Please sign in to comment.