Skip to content

Commit f1c6f76

Browse files
committed
fix(playground): tsconfig jsx react-jsx <== react
1 parent 7e17ba2 commit f1c6f76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/playground/src/app/components/Editor.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ export function Editor({
101101
moduleResolution: 99 as any, // NodeNext
102102
noImplicitAny: true,
103103
strictNullChecks: true,
104-
jsx: monaco.languages.typescript.JsxEmit.React,
104+
jsx: monaco.languages.typescript.JsxEmit.ReactJSX,
105+
jsxFactory: "React.createElement",
106+
reactNamespace: "React",
107+
allowUmdGlobalAccess: true,
105108
});
106109

107110
monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions({

0 commit comments

Comments
 (0)