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;