From b2e786aee1671fe8535461444b33ea225729d3ab Mon Sep 17 00:00:00 2001 From: stujones-sportsbet Date: Tue, 26 Sep 2017 10:10:40 +1000 Subject: [PATCH] [react-router-config] - add support for optional extraProps argument to renderRoutes introduced in react-router 4.2.0 (#19994) --- types/react-router-config/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-router-config/index.d.ts b/types/react-router-config/index.d.ts index 2040a8a721..54b48089fa 100644 --- a/types/react-router-config/index.d.ts +++ b/types/react-router-config/index.d.ts @@ -28,4 +28,4 @@ export interface MatchedRoute { export function matchRoutes(routes: RouteConfig[], pathname: string): Array>; -export function renderRoutes(routes: RouteConfig[] | undefined): JSX.Element; +export function renderRoutes(routes: RouteConfig[] | undefined, extraProps?: any): JSX.Element;