diff --git a/types/react-router-config/index.d.ts b/types/react-router-config/index.d.ts index 916b8293f4..0dd82c8b8c 100644 --- a/types/react-router-config/index.d.ts +++ b/types/react-router-config/index.d.ts @@ -1,8 +1,9 @@ -// Type definitions for react-router-config 1.1 +// Type definitions for react-router-config 5.0 // Project: https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config, https://github.com/reacttraining/react-router // Definitions by: François Nguyen // John Reilly // Phoenix He +// Mathieu TUDISCO // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -22,6 +23,7 @@ export interface RouteConfig { exact?: boolean; strict?: boolean; routes?: RouteConfig[]; + render?: (props: RouteConfigComponentProps) => React.ReactNode; [propName: string]: any; }