fix: add jsxFragmentFactory to tsconfig
This commit is contained in:
parent
a193ffad52
commit
8f6c61207f
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"jsxFactory": "window.SP_REACT.createElement",
|
"jsxFactory": "window.SP_REACT.createElement",
|
||||||
|
"jsxFragmentFactory": "window.SP_REACT.Fragment",
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
|
|
Loading…
Reference in a new issue