From 90b29eca78c98a971cae68da99d12ed85517e81e Mon Sep 17 00:00:00 2001 From: Laurence Roberts Date: Wed, 30 Oct 2024 15:14:41 +0000 Subject: [PATCH] AG-13282 Upgrade target to es2022 --- nx.json | 4 ++-- tsconfig.base.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nx.json b/nx.json index 78f53b50fb..ccec6987d9 100644 --- a/nx.json +++ b/nx.json @@ -132,7 +132,7 @@ "tsConfig": "{projectRoot}/tsconfig.lib.json", "esbuildConfig": "esbuild.config.cjs", "platform": "browser", - "target": "es2020", + "target": "es2022", "format": ["cjs", "esm"], "sourcemap": true }, @@ -160,7 +160,7 @@ "tsConfig": "{projectRoot}/tsconfig.lib.json", "esbuildConfig": "esbuild.config.cjs", "platform": "browser", - "target": "es2020", + "target": "es2022", "bundle": true, "thirdParty": true, "skipTypeCheck": true, diff --git a/tsconfig.base.json b/tsconfig.base.json index e4d11737c4..028f32de63 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -9,13 +9,14 @@ "experimentalDecorators": true, "importHelpers": true, "esModuleInterop": true, - "target": "es2020", + "target": "es2022", "module": "esnext", "lib": ["es2023", "dom"], "skipLibCheck": true, "skipDefaultLibCheck": true, "baseUrl": ".", "strictNullChecks": true, + "useDefineForClassFields": false, "paths": { "ag-charts-community": ["packages/ag-charts-community/src/main.ts"], "ag-charts-community-examples": ["packages/ag-charts-community-examples/src/index.ts"],