mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
add push and replace methods
This commit is contained in:
1 parent
51cd044cad
commit
99f6493ffb
1 file changed
+2
Vendored
+2
@@ -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