From: Jane Sandberg Date: Tue, 25 Apr 2023 13:00:11 +0000 (-0700) Subject: LP2000482: update tsconfig options to satisfy compiler warning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7d8923e075a83318acf01a3236587c802278f4bc;p=evergreen%2Ftadl.git LP2000482: update tsconfig options to satisfy compiler warning Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- 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/*"],