diff --git a/react-router-redux/index.d.ts b/react-router-redux/index.d.ts index db1f8d5f24..226b3152e3 100644 --- a/react-router-redux/index.d.ts +++ b/react-router-redux/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/rackt/react-router-redux // Definitions by: Isman Usoh , Noah Shipley , Dimitri Rosenberg , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 import { Action, Middleware, Store } from "redux"; import { History } from "history"; diff --git a/react-router-redux/v3/index.d.ts b/react-router-redux/v3/index.d.ts index d11b7826f4..90e884a221 100644 --- a/react-router-redux/v3/index.d.ts +++ b/react-router-redux/v3/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/rackt/react-router-redux // Definitions by: Isman Usoh , Noah Shipley , Dimitri Rosenberg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 import * as Redux from "redux"; import * as History from "history"; diff --git a/react-router-redux/v3/tsconfig.json b/react-router-redux/v3/tsconfig.json index ee406e1759..98e20b8d42 100644 --- a/react-router-redux/v3/tsconfig.json +++ b/react-router-redux/v3/tsconfig.json @@ -14,6 +14,8 @@ ], "paths": { "history": ["history/v2"], + "react-router": ["react-router/v2"], + "react-router/*": ["react-router/v2/*"], "react-router-redux": ["react-router-redux/v3"] }, "types": [], diff --git a/react-router/index.d.ts b/react-router/index.d.ts index 2b10a4cbcb..1e9770938c 100644 --- a/react-router/index.d.ts +++ b/react-router/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/rackt/react-router // Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /* Replacement from old history definitions */ export interface HistoryOptions { diff --git a/react-router/v2/index.d.ts b/react-router/v2/index.d.ts index 80b1b97154..b0a96487bf 100644 --- a/react-router/v2/index.d.ts +++ b/react-router/v2/index.d.ts @@ -2,8 +2,7 @@ // 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: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// +// TypeScript Version: 2.1 export as namespace ReactRouter;