mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Merge pull request #14540 from johnnyreilly/master
react-router: Fix RedirectFunction not being exported
This commit is contained in:
commit
2fda73624f
1
react-router/index.d.ts
vendored
1
react-router/index.d.ts
vendored
@ -33,6 +33,7 @@ export {
|
||||
RoutePattern,
|
||||
RouterProps,
|
||||
RouterState,
|
||||
RedirectFunction,
|
||||
StringifyQuery,
|
||||
Query
|
||||
} from "react-router/lib/Router";
|
||||
|
||||
@ -17,7 +17,8 @@ import {
|
||||
InjectedRouter,
|
||||
Link,
|
||||
RouterContext,
|
||||
LinkProps
|
||||
LinkProps,
|
||||
RedirectFunction
|
||||
} from "react-router";
|
||||
|
||||
const NavLink = (props: LinkProps) => (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user