From b4c6da9289aaf094c345e2bb741dc004e7bf2b6f Mon Sep 17 00:00:00 2001 From: Prathap Chandran Date: Fri, 9 Dec 2016 16:32:17 +0000 Subject: [PATCH 1/2] updating aot config to emit es5 code --- tsconfig.aot.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.aot.json b/tsconfig.aot.json index fca105d..4b972bf 100644 --- a/tsconfig.aot.json +++ b/tsconfig.aot.json @@ -2,14 +2,14 @@ "compilerOptions": { "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es2015", + "target": "es5", "module": "commonjs", "moduleResolution": "node", "removeComments": true, "sourceMap": true, "declaration": true, "types": [ - "node" + "core-js" ] }, "angularCompilerOptions": { From 8c485b570d99624d9ff559a700e5efc2ea2e0d28 Mon Sep 17 00:00:00 2001 From: Prathap Chandran Date: Mon, 19 Dec 2016 16:59:03 +0000 Subject: [PATCH 2/2] locking down typescript version to make unit tests pass --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3de9748..fb0349c 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "ts-helpers": "1.1.1", "tslint": "^3.15.1", "tslint-loader": "2.1.5", - "typescript": "^2.0.2", + "typescript": "2.0.10", "typings": "^1.3.2", "webpack": "^1.13.2", "zone.js": "^0.6.23"