mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Update templates to TypeScript 2.2.1 and fix whatwg-fetch related errors. Fixes #705
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
// The following line is a workaround for aurelia-fetch-client requiring the type UrlSearchParams
|
||||
// to exist in global scope, but that type not being declared in any public @types/* package.
|
||||
/// <reference path="../../../../node_modules/aurelia-fetch-client/doc/url.d.ts" />
|
||||
|
||||
import { HttpClient } from 'aurelia-fetch-client';
|
||||
import { inject } from 'aurelia-framework';
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^6.0.45",
|
||||
"@types/whatwg-fetch": "0.0.32",
|
||||
"aspnet-webpack": "^1.0.11",
|
||||
"aurelia-webpack-plugin": "^1.1.0",
|
||||
"copy-webpack-plugin": "^3.0.1",
|
||||
@@ -38,7 +37,7 @@
|
||||
"style-loader": "^0.13.1",
|
||||
"to-string-loader": "^1.1.5",
|
||||
"ts-loader": "^0.8.2",
|
||||
"typescript": "^2.0.0",
|
||||
"typescript": "^2.2.1",
|
||||
"url-loader": "^0.5.7",
|
||||
"webpack": "2.1.0-beta.25",
|
||||
"webpack-hot-middleware": "^2.10.0"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"emitDecoratorMetadata": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"lib": [ "es6", "dom" ],
|
||||
"types": [ "node", "whatwg-fetch" ]
|
||||
"types": [ "node" ]
|
||||
},
|
||||
"exclude": [ "bin", "node_modules" ],
|
||||
"atom": { "rewriteTsconfig": false }
|
||||
|
||||
Reference in New Issue
Block a user