Set target compiler to 2.1, add old react-router reference for react-router-redux tests

This commit is contained in:
Karol Janyst
2017-01-27 11:42:19 +09:00
parent 44dec616d0
commit f4f285ee2f
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/rackt/react-router-redux
// Definitions by: Isman Usoh <http://github.com/isman-usoh>, Noah Shipley <https://github.com/noah79>, Dimitri Rosenberg <https://github.com/rosendi>, Karol Janyst <https://github.com/LKay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { Action, Middleware, Store } from "redux";
import { History } from "history";
+1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/rackt/react-router-redux
// Definitions by: Isman Usoh <http://github.com/isman-usoh>, Noah Shipley <https://github.com/noah79>, Dimitri Rosenberg <https://github.com/rosendi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import * as Redux from "redux";
import * as History from "history";
+2
View File
@@ -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": [],
+1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/rackt/react-router
// Definitions by: Sergey Buturlakin <https://github.com/sergey-buturlakin>, Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>, Nathan Brown <https://github.com/ngbrown>, Alex Wendland <https://github.com/awendland>, Kostya Esmukov <https://github.com/KostyaEsmukov>, Karol Janyst <https://github.com/LKay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/* Replacement from old history definitions */
export interface HistoryOptions {
+1 -2
View File
@@ -2,8 +2,7 @@
// Project: https://github.com/rackt/react-router
// Definitions by: Sergey Buturlakin <https://github.com/sergey-buturlakin>, Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>, Nathan Brown <https://github.com/ngbrown>, Alex Wendland <https://github.com/awendland>, Kostya Esmukov <https://github.com/KostyaEsmukov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="history" />
// TypeScript Version: 2.1
export as namespace ReactRouter;