Merge pull request #990 from SAP/dependabot/npm_and_yarn/types/node-20.11.20
[e-mobility-charging-stations-simulator.git] / ui / web / tsconfig.json
index bfd63b8a021831cb88ed094cee6b0fe6276c3ae4..4c48e296d56b106fa7de2395378261f44686fe5c 100644 (file)
@@ -1,37 +1,17 @@
 {
   "$schema": "https://json.schemastore.org/tsconfig",
-  "extends":  [
-       "@tsconfig/node20/tsconfig.json",
-        "@vue/tsconfig/tsconfig.json"
-      ],
+  "extends": ["@tsconfig/node20/tsconfig.json", "@vue/tsconfig/tsconfig.dom.json"],
   "compilerOptions": {
     "experimentalDecorators": true,
     "allowSyntheticDefaultImports": true,
     "sourceMap": true,
-    "baseUrl": ".",
-    "types": [
-      "node",
-      "mocha",
-      "chai"
-    ],
+    "composite": true,
+    "baseUrl": "./",
+    "types": ["node", "jsdom"],
     "paths": {
-      "@/*": [
-        "src/*"
-      ]
-    },
-    "lib": [
-      "esnext",
-      "dom"
-    ]
+      "@/*": ["./src/*"]
+    }
   },
-  "include": [
-    "src/**/*.ts",
-    "src/**/*.tsx",
-    "src/**/*.vue",
-    "tests/**/*.ts",
-    "tests/**/*.tsx"
-  ],
-  "exclude": [
-    "node_modules"
-  ]
+  "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"],
+  "exclude": ["node_modules"]
 }