mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
React Router v2: RouteComponentProps non-optional location and params
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