diff --git a/common/tools/dev-tool/tsconfig.json b/common/tools/dev-tool/tsconfig.json index af4008fc8754..b37073d5fe7c 100644 --- a/common/tools/dev-tool/tsconfig.json +++ b/common/tools/dev-tool/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2015", + "target": "ES2017", "module": "commonjs", "moduleResolution": "node", "noEmit": true, diff --git a/common/tools/eslint-plugin-azure-sdk/tsconfig.json b/common/tools/eslint-plugin-azure-sdk/tsconfig.json index 08a623850d8f..a9b1efb89575 100644 --- a/common/tools/eslint-plugin-azure-sdk/tsconfig.json +++ b/common/tools/eslint-plugin-azure-sdk/tsconfig.json @@ -13,7 +13,7 @@ "pretty": true, "removeComments": true, "strict": true, - "target": "es2016", + "target": "es2017", "types": ["node"], "sourceMap": true, "resolveJsonModule": true diff --git a/sdk/core/core-amqp/tsconfig.json b/sdk/core/core-amqp/tsconfig.json index d592c1e85767..dc407e60941d 100644 --- a/sdk/core/core-amqp/tsconfig.json +++ b/sdk/core/core-amqp/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.package", "compilerOptions": { - "target": "es6", "outDir": "./dist-esm", "declarationDir": "./types", "resolveJsonModule": true diff --git a/sdk/digitaltwins/digital-twins-core/tsconfig.json b/sdk/digitaltwins/digital-twins-core/tsconfig.json index ec649b3c7791..13ea6388063d 100644 --- a/sdk/digitaltwins/digital-twins-core/tsconfig.json +++ b/sdk/digitaltwins/digital-twins-core/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.package", "compilerOptions": { "strict": true, - "target": "es5", "sourceMap": true, "lib": ["es6", "dom"], "declaration": true, diff --git a/sdk/identity/identity/tsconfig.json b/sdk/identity/identity/tsconfig.json index a7b400342680..3ceaa1947afd 100644 --- a/sdk/identity/identity/tsconfig.json +++ b/sdk/identity/identity/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.package", "compilerOptions": { - "target": "es6", "lib": ["DOM"], "declarationDir": "./types", "outDir": "./dist-esm", diff --git a/sdk/test-utils/recorder/tsconfig.json b/sdk/test-utils/recorder/tsconfig.json index 1abd6daa9270..ab1bc8180832 100644 --- a/sdk/test-utils/recorder/tsconfig.json +++ b/sdk/test-utils/recorder/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../../tsconfig.package", "compilerOptions": { "declarationDir": "./typings", - "target": "es5", + "target": "es2017", "outDir": "./dist-esm", "lib": ["dom", "es5", "es6", "es7", "esnext"] }, diff --git a/tsconfig.json b/tsconfig.json index cefae51eb534..61e7296d9bc0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2015", + "target": "ES2017", "module": "commonjs", "lib": [], "declaration": true,