From a619aa84e2406d7633ed829f94133cfecc595f5b Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Tue, 22 Nov 2022 10:59:09 +0800 Subject: [PATCH] make tsconfigs consistent --- js/tsconfig.json | 4 ++-- serverless/aws/tsconfig.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/tsconfig.json b/js/tsconfig.json index 21ddb0c..e6d8c96 100644 --- a/js/tsconfig.json +++ b/js/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "target": "es6", - "lib": ["es2020", "dom"], + "target": "es2021", + "lib": ["es2021", "dom"], "strict": true, "moduleResolution": "node", "paths": { diff --git a/serverless/aws/tsconfig.json b/serverless/aws/tsconfig.json index fc9cdcc..7869a30 100644 --- a/serverless/aws/tsconfig.json +++ b/serverless/aws/tsconfig.json @@ -1,11 +1,11 @@ { "compilerOptions": { - "target": "es2020", + "target": "es2021", "strict": true, "preserveConstEnums": true, "noEmit": true, "sourceMap": false, - "module":"commonjs", + "module":"es2022", "moduleResolution":"node", "esModuleInterop": true, "skipLibCheck": true,