mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-04 20:54:36 +00:00
Merge pull request #17795 from beary/master
Expose `BrowserRouterProps` and `HashRouterProps` interface.
This commit is contained in:
2
types/react-router-dom/index.d.ts
vendored
2
types/react-router-dom/index.d.ts
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user