Skip to content

Commit

Permalink
add isFirstRendering property to RouterState interface (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
TetsuyaNegishi authored and supasate committed Apr 14, 2019
1 parent a8e92e6 commit 8d49825
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 8d49825

Please sign in to comment.