From 82b332b2322eafc1ae454d71026a25b64298e59d Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 30 Sep 2022 15:57:13 +0000 Subject: [PATCH] Bump tsconfig.es.json target to ES2020 --- .../amazon/smithy/typescript/codegen/tsconfig.es.json | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.es.json b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.es.json index 6a16bb654bb..6223c12835c 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.es.json +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.es.json @@ -1,17 +1,10 @@ { "extends": "./tsconfig", "compilerOptions": { - "target": "es5", + "target": "ES2020", "module": "esnext", "moduleResolution": "node", - "lib": [ - "dom", - "es5", - "es2015.promise", - "es2015.collection", - "es2015.iterable", - "es2015.symbol.wellknown" - ], + "lib": ["dom"], "outDir": "dist-es" } }