mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Update templates to TypeScript 2.2.1 and fix whatwg-fetch related errors. Fixes #705
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
"@types/redux": "3.5.27",
|
||||
"@types/webpack": "^2.2.0",
|
||||
"@types/webpack-env": "^1.13.0",
|
||||
"@types/whatwg-fetch": "0.0.28",
|
||||
"aspnet-prerendering": "^2.0.0",
|
||||
"aspnet-webpack": "^1.0.27",
|
||||
"aspnet-webpack-react": "^1.0.4",
|
||||
@@ -22,7 +21,7 @@
|
||||
"babel-preset-react": "^6.5.0",
|
||||
"bootstrap": "^3.3.6",
|
||||
"css-loader": "^0.23.1",
|
||||
"domain-task": "^2.0.1",
|
||||
"domain-task": "^3.0.0",
|
||||
"event-source-polyfill": "^0.0.7",
|
||||
"extract-text-webpack-plugin": "^2.0.0-rc",
|
||||
"file-loader": "^0.8.5",
|
||||
@@ -37,7 +36,7 @@
|
||||
"redux": "^3.6.0",
|
||||
"redux-thunk": "^2.2.0",
|
||||
"style-loader": "^0.13.0",
|
||||
"typescript": "^2.0.3",
|
||||
"typescript": "^2.2.1",
|
||||
"url-loader": "^0.5.7",
|
||||
"webpack": "^2.2.0",
|
||||
"webpack-hot-middleware": "^2.12.2",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"sourceMap": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"lib": ["es6", "dom"],
|
||||
"types": [ "webpack-env", "whatwg-fetch" ],
|
||||
"types": [ "webpack-env" ],
|
||||
"paths": {
|
||||
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
|
||||
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
|
||||
|
||||
Reference in New Issue
Block a user