Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 9736682

Browse files
Revert "Update redux-typed to use TS 2.0 and @types"
This reverts commit c33b227.
1 parent 0615578 commit 9736682

File tree

4 files changed

+22
-10
lines changed

4 files changed

+22
-10
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/typings/
12
/node_modules/
23
/*.js
34
/*.d.ts

src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "main.js",
66
"typings": "main.d.ts",
77
"scripts": {
8-
"prepublish": "rimraf *.d.ts && tsc && echo 'Finished building NPM package \"redux-typed\"'",
8+
"prepublish": "rimraf *.d.ts && tsd update && tsc && echo 'Finished building NPM package \"redux-typed\"'",
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
1111
"author": "Microsoft",
@@ -18,10 +18,7 @@
1818
"url": "https://github.com/aspnet/JavaScriptServices.git"
1919
},
2020
"devDependencies": {
21-
"@types/react": "^0.14.38",
22-
"@types/react-redux": "^4.4.32",
23-
"@types/redux": "^3.5.30",
2421
"rimraf": "^2.5.4",
25-
"typescript": "^2.0.0"
22+
"typescript": "^1.8.10"
2623
}
2724
}

src/Microsoft.AspNetCore.ReactServices/npm/redux-typed/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44
"module": "commonjs",
55
"target": "es5",
66
"declaration": true,
7-
"outDir": ".",
8-
"lib": ["es2015", "dom"]
7+
"outDir": "."
98
},
10-
"files": [
11-
"src/main.ts"
12-
],
139
"exclude": [
1410
"node_modules"
1511
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "v4",
3+
"repo": "borisyankov/DefinitelyTyped",
4+
"ref": "master",
5+
"path": "typings",
6+
"bundle": "typings/tsd.d.ts",
7+
"installed": {
8+
"react/react.d.ts": {
9+
"commit": "f4b1797c1201b6c575668f5d7ea12d9b1ab21846"
10+
},
11+
"react-redux/react-redux.d.ts": {
12+
"commit": "f4b1797c1201b6c575668f5d7ea12d9b1ab21846"
13+
},
14+
"redux/redux.d.ts": {
15+
"commit": "f4b1797c1201b6c575668f5d7ea12d9b1ab21846"
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)