diff --git a/tsconfig.json b/tsconfig.json index 869d3b6..a92a3cb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "module": "ESNext", "target": "ES2020", "jsx": "react", - "jsxFactory": "SP_REACT.createElement", + "jsxFactory": "window.SP_REACT.createElement", "declaration": true, "moduleResolution": "node", "noUnusedLocals": true,