From 0e0bef8276d66cd32d416ff7698c2ae7afb361b5 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Fri, 10 Feb 2017 12:25:50 +0000 Subject: [PATCH] react-router added routes to RouteComponentProps --- react-router/lib/Router.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/react-router/lib/Router.d.ts b/react-router/lib/Router.d.ts index 95b2e38267..aba09a19a3 100644 --- a/react-router/lib/Router.d.ts +++ b/react-router/lib/Router.d.ts @@ -90,6 +90,7 @@ export interface RouteComponentProps { params: P & R; route: PlainRoute; router: InjectedRouter; + routes: PlainRoute[]; routeParams: R; }