Skip to content

Commit 617e37e

Browse files
antonvasinblakeembrey
authored andcommitted
Fix duplicate push() declaration (#2)
Fixes #1 a0a0545 changed replace() back to second push()
1 parent fd6b82d commit 617e37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-router.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ declare module ReactRouter {
235235
*
236236
* @param {LocationDescriptor} pathOrLoc
237237
*/
238-
push(pathOrLoc: LocationDescriptor): void;
238+
replace(pathOrLoc: LocationDescriptor): void;
239239

240240
/**
241241
* Go forward or backward in the history by n or -n.

0 commit comments

Comments
 (0)