summaryrefslogtreecommitdiff
path: root/frontend/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/tsconfig.json')
-rw-r--r--frontend/tsconfig.json7
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index d12d14da..02d3d4ad 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -2,9 +2,7 @@
"compilerOptions": {
"module": "ESNext",
"target": "ES2021",
- "jsx": "react",
- "jsxFactory": "window.SP_REACT.createElement",
- "jsxFragmentFactory": "window.SP_REACT.Fragment",
+ "jsx": "react-jsx",
"declaration": false,
"moduleResolution": "node",
"noUnusedLocals": true,
@@ -15,7 +13,8 @@
"noImplicitAny": true,
"strict": true,
"allowSyntheticDefaultImports": true,
- "resolveJsonModule": true
+ "resolveJsonModule": true,
+ "skipLibCheck": true
},
"include": ["src", "index.d.ts"],
"exclude": ["node_modules"]