Skip to content

Commit

Permalink
Fix an invalid type definition (#253)
Browse files Browse the repository at this point in the history
* Fix wrong type definition
  • Loading branch information
cometkim authored and supasate committed Feb 12, 2019
1 parent 0f3432c commit fe7663e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -61,7 +61,7 @@ declare module 'connected-react-router' {
export function createMatchSelector<
S extends RouterRootState, Params extends { [K in keyof Params]?: string }
>(path: string): matchSelectorFn<S, Params>;
export function onLocationChanged(location: Location, action: RouterActionType, isFirstRendering: boolean = false)
export function onLocationChanged(location: Location, action: RouterActionType, isFirstRendering?: boolean)
: LocationChangeAction;

export type Push = typeof push;
Expand Down

0 comments on commit fe7663e

Please sign in to comment.