mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
add push and replace methods
This commit is contained in:
2
react-router/history.d.ts
vendored
2
react-router/history.d.ts
vendored
@@ -22,6 +22,8 @@ declare namespace HistoryModule {
|
||||
transitionTo(location: Location): void
|
||||
pushState(state: LocationState, path: Path): void
|
||||
replaceState(state: LocationState, path: Path): void
|
||||
push(path: Path): void
|
||||
replace(path: Path): void
|
||||
go(n: number): void
|
||||
goBack(): void
|
||||
goForward(): void
|
||||
|
||||
Reference in New Issue
Block a user