From 10e53688547ad0c771dc005b2cb008490726b87f Mon Sep 17 00:00:00 2001 From: John Reilly Date: Fri, 10 Feb 2017 10:08:14 +0000 Subject: [PATCH 1/2] react-router: Fix RedirectFunction not being exported --- react-router/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/react-router/index.d.ts b/react-router/index.d.ts index da1f23c87e..84b9f2c152 100644 --- a/react-router/index.d.ts +++ b/react-router/index.d.ts @@ -33,6 +33,7 @@ export { RoutePattern, RouterProps, RouterState, + RedirectFunction, StringifyQuery, Query } from "react-router/lib/Router"; From 1c72cb38128093e86f3557a7fa573dea31514a76 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Fri, 10 Feb 2017 10:14:12 +0000 Subject: [PATCH 2/2] Update react-router-tests.tsx --- react-router/react-router-tests.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-router/react-router-tests.tsx b/react-router/react-router-tests.tsx index 894dfec8c7..79e9012d53 100644 --- a/react-router/react-router-tests.tsx +++ b/react-router/react-router-tests.tsx @@ -17,7 +17,8 @@ import { InjectedRouter, Link, RouterContext, - LinkProps + LinkProps, + RedirectFunction } from "react-router"; const NavLink = (props: LinkProps) => (