Skip to content

Commit 4e38857

Browse files
benneqabhiisheek
authored andcommitted
Fix react-jsx error (facebook#9869)
1 parent 6e524d1 commit 4e38857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function verifyTypeScriptSetup() {
148148
jsx: {
149149
parsedValue:
150150
hasJsxRuntime && semver.gte(ts.version, '4.1.0-beta')
151-
? ts.JsxEmit.ReactJsx
151+
? ts.JsxEmit.ReactJSX
152152
: ts.JsxEmit.React,
153153
value:
154154
hasJsxRuntime && semver.gte(ts.version, '4.1.0-beta')

0 commit comments

Comments
 (0)