add push and replace methods

This commit is contained in:
Sergey Buturlakin
2015-11-20 11:31:28 +02:00
parent 51cd044cad
commit 99f6493ffb

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