From 018c2ca6af106665026e65037b7c57ebfab8104d Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Mon, 14 Sep 2020 16:43:55 +0800 Subject: [PATCH] chore: set `compilerOptions.target` as `es2015` --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 2598776..3abbc45 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "sourceMap": false, - "target": "es5", + "target": "es2015", "module": "commonjs", "moduleResolution": "node", "allowJs": true, @@ -13,7 +13,7 @@ "removeComments": false, "jsx": "preserve", "lib": ["esnext", "dom"], - "types": ["node"], + "types": ["node"] }, "include": [ "global.d.ts"