Skip to content

Commit

Permalink
Fix react-jsx error (facebook#9869)
Browse files Browse the repository at this point in the history
  • Loading branch information
benneq committed Oct 28, 2020
1 parent 027b03b commit 545d460
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function verifyTypeScriptSetup() {
jsx: {
parsedValue:
hasJsxRuntime && semver.gte(ts.version, '4.1.0-beta')
? ts.JsxEmit.ReactJsx
? ts.JsxEmit.ReactJSX
: ts.JsxEmit.React,
value:
hasJsxRuntime && semver.gte(ts.version, '4.1.0-beta')
Expand Down

0 comments on commit 545d460

Please sign in to comment.