From 0e6b59458469f37fb8624d5ed914671d65904abc Mon Sep 17 00:00:00 2001 From: Lukas Tetzlaff Date: Thu, 2 Nov 2017 11:15:27 +0100 Subject: [PATCH] Change compilation target to `es2015` --- tsconfig.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 5e3b283..55c3800 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compileOnSave": true, "compilerOptions": { - "target": "es5", + /* es2015 requires moduleResolution and module to be set, + see https://github.com/Microsoft/TypeScript/issues/8189 */ + "target": "es2015", + "moduleResolution": "node", + "module": "none", "strict": true, "declaration": true, "sourceMap": true, @@ -9,9 +13,5 @@ "lib": [ "es2015", "dom", "scripthost" ] - }, - "include": [ - "src/**/*.ts", - "tests/**/*.ts" - ] + } }