diff --git a/react-router/index.d.ts b/react-router/index.d.ts index b1a577c617..4e265ce99f 100644 --- a/react-router/index.d.ts +++ b/react-router/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for react-router 2.0 +// Type definitions for react-router 3.0 // Project: https://github.com/rackt/react-router -// Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov +// Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov , John Reilly // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 diff --git a/react-router/lib/Router.d.ts b/react-router/lib/Router.d.ts index a7dff58369..ccfc22979a 100644 --- a/react-router/lib/Router.d.ts +++ b/react-router/lib/Router.d.ts @@ -87,6 +87,7 @@ declare namespace Router { params?: P; route?: PlainRoute; routeParams?: R; + router?: InjectedRouter; routes?: PlainRoute[]; children?: React.ReactElement; }