Add try-finally block for SELECT FOR UPDATE statement
[GitHub/WoltLab/WCF.git] / tsconfig.json
index 7913df1f3d17885bf63887109f976091842d1e9f..3583176be0f172677bd5c2b8264b17f44a4de636 100644 (file)
@@ -1,18 +1,23 @@
 {
   "include": [
-    "global.d.ts",
     "ts/**/*"
   ],
+  "exclude": [
+    "ts/WoltLabSuite/WebComponent.*",
+    "ts/WoltLabSuite/WebComponent/**"
+  ],
   "compilerOptions": {
+    "experimentalDecorators": true,
+    "emitDecoratorMetadata": true,
     "allowJs": true,
-    "target": "es2017",
+    "target": "ES2022",
     "module": "amd",
     "rootDir": "ts/",
     "outDir": "wcfsetup/install/files/js/",
     "lib": [
-      "dom",
+      "DOM",
       "DOM.Iterable",
-      "es2017"
+      "ES2022"
     ],
     "strictNullChecks": true,
     "moduleResolution": "node",
     "noImplicitThis": true,
     "strictBindCallApply": true,
     "importHelpers": true,
-    "newLine": "lf"
+    "newLine": "lf",
+    "paths": {
+      "*": [
+        "./ts/*"
+      ]
+    }
   }
 }