aboutsummaryrefslogtreecommitdiffstats
path: root/webui/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'webui/tsconfig.json')
-rw-r--r--webui/tsconfig.json11
1 files changed, 4 insertions, 7 deletions
diff --git a/webui/tsconfig.json b/webui/tsconfig.json
index 8e993863..ef2e0f6c 100644
--- a/webui/tsconfig.json
+++ b/webui/tsconfig.json
@@ -1,4 +1,5 @@
{
+ "$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "es5",
"lib": [
@@ -12,18 +13,14 @@
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
+ "noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
- "jsx": "react",
- "typeRoots": [
- "node_modules/@types/",
- "types/"
- ],
- "baseUrl": ".",
- "noFallthroughCasesInSwitch": true
+ "jsx": "react-jsx",
+ "baseUrl": "."
},
"include": [
"src"