From 99f6493ffb1ef5479c6154ec9f82a47178bbf8b6 Mon Sep 17 00:00:00 2001 From: Sergey Buturlakin Date: Fri, 20 Nov 2015 11:31:28 +0200 Subject: [PATCH] add push and replace methods --- react-router/history.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react-router/history.d.ts b/react-router/history.d.ts index c527e83e8..1b5c6dfad 100644 --- a/react-router/history.d.ts +++ b/react-router/history.d.ts @@ -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