Update templates to TypeScript 2.2.1 and fix whatwg-fetch related errors. Fixes #705

This commit is contained in:
Steve Sanderson
2017-02-23 10:07:03 +00:00
parent 627ea78e72
commit 689f106181
11 changed files with 12 additions and 21 deletions

View File

@@ -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).