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"; 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) => (