From 982b1faf2767557e847f427a37d3dda6fa99e8fc Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 21 Jun 2024 11:39:51 +0100 Subject: [PATCH] Bump ES target version to ES2022 I want to be able to use `WeakRef`, and per https://github.com/element-hq/element-web/issues/24913#issuecomment-2182448007, I believe this should be safe. --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index c1c9d48b8e9..a7d2eeb4dd4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2016", + "target": "es2022", "experimentalDecorators": true, "esModuleInterop": true, "module": "commonjs",