From 90788e2ded02491bed23bd6f92ebaf3c1846ac3c Mon Sep 17 00:00:00 2001 From: Sam Verschueren Date: Mon, 30 Oct 2017 18:32:56 +0100 Subject: [PATCH] Fix support for Node.js 4 (#17) --- tsconfig.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 621ffda..6848305 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2016", + "target": "es5", "module": "commonjs", "declaration": false, "removeComments": false, @@ -12,7 +12,10 @@ "noFallthroughCasesInSwitch": true, "allowSyntheticDefaultImports": true, "strictNullChecks": true, - "outDir": "dist" + "outDir": "dist", + "lib": [ + "es2015" + ] }, "exclude": [ "node_modules",