LP2000482: update tsconfig options to satisfy compiler warning
authorJane Sandberg <js7389@princeton.edu>
Tue, 25 Apr 2023 13:00:11 +0000 (06:00 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 27 Apr 2023 10:41:46 +0000 (10:41 +0000)
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/eg2/src/tsconfig.spec.json
Open-ILS/src/eg2/tsconfig.json

index 7518a53..1581e04 100644 (file)
@@ -3,7 +3,7 @@
   "compilerOptions": {
     "outDir": "../out-tsc/spec",
     "baseUrl": "./",
-    "target": "es5",
+    "target": "es2022",
     "types": [
       "jasmine",
       "node"
index 28df87c..381f990 100644 (file)
@@ -7,7 +7,8 @@
     "module": "esnext",
     "moduleResolution": "node",
     "experimentalDecorators": true,
-    "target": "es6",
+    "useDefineForClassFields": false,
+    "target": "es2022",
     "baseUrl": "src",
     "paths": {
         "@eg/*": ["app/*"],