add push and replace methods

This commit is contained in:
Sergey Buturlakin committed 2015-11-20 11:31:28 +02:00
1 parent 51cd044cad
commit 99f6493ffb
1 file changed
+2
+2
View File
@@ -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