Skip to content

Commit 404e9a8

Browse files
author
Andrew Ross
committed
Merge pull request #6 from palmsey/master
Fixed replace method name
2 parents e3a31c5 + 18103de commit 404e9a8

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);
238+
replace(pathOrLoc: LocationDescriptor);
239239

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

0 commit comments

Comments
 (0)