From 2e868660b4c337218a26283c4339eaf1b0166c44 Mon Sep 17 00:00:00 2001 From: CynthiaKamau Date: Thu, 5 Sep 2024 09:54:53 +0300 Subject: [PATCH] (chore) Upgrade TypeScript to support ES2022 features (#1923) --- packages/esm-cervical-cancer-app/tsconfig.json | 3 ++- packages/esm-covid-app/tsconfig.json | 3 ++- packages/esm-hiv-care-treatment-app/tsconfig.json | 3 ++- packages/esm-hiv-prevention-app/tsconfig.json | 3 ++- packages/esm-ohri-pmtct-app/tsconfig.json | 3 ++- packages/esm-opd-app/tsconfig.json | 3 ++- packages/esm-tb-app/tsconfig.json | 3 ++- tsconfig.json | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/packages/esm-cervical-cancer-app/tsconfig.json b/packages/esm-cervical-cancer-app/tsconfig.json index db240ff83..8ede3fa67 100644 --- a/packages/esm-cervical-cancer-app/tsconfig.json +++ b/packages/esm-cervical-cancer-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/packages/esm-covid-app/tsconfig.json b/packages/esm-covid-app/tsconfig.json index 0e7563cd5..881990099 100644 --- a/packages/esm-covid-app/tsconfig.json +++ b/packages/esm-covid-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/packages/esm-hiv-care-treatment-app/tsconfig.json b/packages/esm-hiv-care-treatment-app/tsconfig.json index db240ff83..8ede3fa67 100644 --- a/packages/esm-hiv-care-treatment-app/tsconfig.json +++ b/packages/esm-hiv-care-treatment-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/packages/esm-hiv-prevention-app/tsconfig.json b/packages/esm-hiv-prevention-app/tsconfig.json index db240ff83..8ede3fa67 100644 --- a/packages/esm-hiv-prevention-app/tsconfig.json +++ b/packages/esm-hiv-prevention-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/packages/esm-ohri-pmtct-app/tsconfig.json b/packages/esm-ohri-pmtct-app/tsconfig.json index db240ff83..8ede3fa67 100644 --- a/packages/esm-ohri-pmtct-app/tsconfig.json +++ b/packages/esm-ohri-pmtct-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/packages/esm-opd-app/tsconfig.json b/packages/esm-opd-app/tsconfig.json index db240ff83..8ede3fa67 100644 --- a/packages/esm-opd-app/tsconfig.json +++ b/packages/esm-opd-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/packages/esm-tb-app/tsconfig.json b/packages/esm-tb-app/tsconfig.json index db240ff83..8ede3fa67 100644 --- a/packages/esm-tb-app/tsconfig.json +++ b/packages/esm-tb-app/tsconfig.json @@ -14,7 +14,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "resolveJsonModule": true, "noEmit": true, diff --git a/tsconfig.json b/tsconfig.json index 4bac816bf..01941dd02 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,8 @@ "es2015.promise", "es2016.array.include", "es2018", - "es2020" + "es2020", + "es2022", ], "module": "esnext", "moduleResolution": "node",