From f569b2fc70ba38beb0783a03007033900d5e04c1 Mon Sep 17 00:00:00 2001 From: cedoor Date: Mon, 25 Mar 2024 13:04:21 +0000 Subject: [PATCH] chore: update ts target to es2020 Targeting ES2020 looks like it's generally fine today. It's widely supported across modern browsers and environments and it would allow Semaphore bundles to use new ES features natively, like arrow functions, promises, and classes, which can improve code readability and efficiency. re #688 Former-commit-id: 9f49d91197d310a16c7a6c9e4dca17fa0d0e6f82 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index ab2cb8b4d..a35dba626 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "baseUrl": ".", "strict": true, - "target": "ES5", + "target": "ES2020", "module": "ESNext", "moduleResolution": "Bundler", "esModuleInterop": true,