From 2c270787ef9d1d9f512fbe10f7a95e80e274830d Mon Sep 17 00:00:00 2001 From: Freddie Wang Date: Sun, 21 Mar 2021 15:14:18 +0800 Subject: [PATCH] es2017 --- plugins/tsconfig.json | 3 +-- tsconfig.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/tsconfig.json b/plugins/tsconfig.json index 43a83ee..3fbcf70 100644 --- a/plugins/tsconfig.json +++ b/plugins/tsconfig.json @@ -1,9 +1,8 @@ { "compilerOptions": { "module": "commonjs", - "target": "es5", + "target": "es2017", "noImplicitAny": false, - "downlevelIteration": true, "moduleResolution": "node", "types": ["./asphyxia-core"], "sourceMap": false diff --git a/tsconfig.json b/tsconfig.json index 1ecda97..5e88dc3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,10 +5,9 @@ "allowSyntheticDefaultImports": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, - "target": "es5", + "target": "es2017", "noImplicitAny": true, "moduleResolution": "node", - "downlevelIteration": true, "sourceMap": true, "outDir": "dist", "rootDir": "src"