react-router.d.ts: add RouteComponentProps.children

This commit is contained in:
Jason
2016-01-15 09:56:32 -08:00
parent a5e94ca589
commit 3c1f12954a
+1
View File
@@ -45,6 +45,7 @@ declare namespace ReactRouter {
route?: PlainRoute
routeParams?: R
routes?: PlainRoute[]
children?: React.ReactElement<any>
}
type RouteComponents = { [key: string]: RouteComponent }