mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #21000 from OliverJAsh/oja/react-router/v2/route-component-props-non-optional
React Router v2: `RouteComponentProps` non-optional `location` and `p…
This commit is contained in:
+2
-2
@@ -83,8 +83,8 @@ declare namespace Router {
|
||||
|
||||
interface RouteComponentProps<P, R> {
|
||||
history?: History;
|
||||
location?: Location;
|
||||
params?: P;
|
||||
location: Location;
|
||||
params: P;
|
||||
route?: PlainRoute;
|
||||
routeParams?: R;
|
||||
routes?: PlainRoute[];
|
||||
|
||||
Reference in New Issue
Block a user