mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Merge pull request #17795 from beary/master
Expose `BrowserRouterProps` and `HashRouterProps` interface.
This commit is contained in:
commit
e755ea2fdc
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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user