From 7d8923e075a83318acf01a3236587c802278f4bc Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Tue, 25 Apr 2023 06:00:11 -0700 Subject: [PATCH] LP2000482: update tsconfig options to satisfy compiler warning Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/tsconfig.spec.json | 2 +- Open-ILS/src/eg2/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/tsconfig.spec.json b/Open-ILS/src/eg2/src/tsconfig.spec.json index 7518a5339d..1581e04c66 100644 --- a/Open-ILS/src/eg2/src/tsconfig.spec.json +++ b/Open-ILS/src/eg2/src/tsconfig.spec.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../out-tsc/spec", "baseUrl": "./", - "target": "es5", + "target": "es2022", "types": [ "jasmine", "node" diff --git a/Open-ILS/src/eg2/tsconfig.json b/Open-ILS/src/eg2/tsconfig.json index 28df87cb70..381f99079f 100644 --- a/Open-ILS/src/eg2/tsconfig.json +++ b/Open-ILS/src/eg2/tsconfig.json @@ -7,7 +7,8 @@ "module": "esnext", "moduleResolution": "node", "experimentalDecorators": true, - "target": "es6", + "useDefineForClassFields": false, + "target": "es2022", "baseUrl": "src", "paths": { "@eg/*": ["app/*"], -- 2.11.0