Skip to content

Commit 8d49825

Browse files
TetsuyaNegishisupasate
authored andcommitted
add isFirstRendering property to RouterState interface (#276)
1 parent a8e92e6 commit 8d49825

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ declare module 'connected-react-router' {
2828

2929
export interface LocationChangeAction {
3030
type: typeof LOCATION_CHANGE;
31-
payload: RouterState;
31+
payload: LocationChangePayload;
32+
}
33+
34+
export interface LocationChangePayload extends RouterState{
35+
isFirstRendering: boolean;
3236
}
3337

3438
export interface CallHistoryMethodAction<A = any[]> {

0 commit comments

Comments
 (0)