From de9460fba5fc21dda7077915a1204d828117911f Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Mon, 24 Oct 2016 10:06:26 +0100 Subject: [PATCH] Update KO template type dependencies. Fixes #397. --- templates/KnockoutSpa/package.json | 1 + templates/KnockoutSpa/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/KnockoutSpa/package.json b/templates/KnockoutSpa/package.json index edca0e4..7c23198 100644 --- a/templates/KnockoutSpa/package.json +++ b/templates/KnockoutSpa/package.json @@ -4,6 +4,7 @@ "devDependencies": { "@types/core-js": "^0.9.34", "@types/crossroads": "0.0.29", + "@types/es6-promise": "0.0.32", "@types/history": "^2.0.38", "@types/jquery": "^2.0.32", "@types/knockout": "^3.4.35", diff --git a/templates/KnockoutSpa/tsconfig.json b/templates/KnockoutSpa/tsconfig.json index 1404455..d94f03b 100644 --- a/templates/KnockoutSpa/tsconfig.json +++ b/templates/KnockoutSpa/tsconfig.json @@ -3,7 +3,8 @@ "moduleResolution": "node", "target": "es5", "sourceMap": true, - "skipDefaultLibCheck": true + "skipDefaultLibCheck": true, + "types": ["es6-promise", "history", "requirejs", "whatwg-fetch"] }, "exclude": [ "bin",