Merge pull request #17795 from beary/master

Expose `BrowserRouterProps` and `HashRouterProps` interface.
This commit is contained in:
Ron Buckton 2017-07-07 02:45:31 -07:00 committed by GitHub
commit e755ea2fdc

View File

@ -56,7 +56,9 @@ declare module 'react-router-dom' {
export {
BrowserRouter,
BrowserRouterProps, // TypeScript specific, not from React Router itself
HashRouter,
HashRouterProps, // TypeScript specific, not from React Router itself
LinkProps, // TypeScript specific, not from React Router itself
NavLinkProps, // TypeScript specific, not from React Router itself
Link,