Skip to content

Commit

Permalink
Fix react-jsx error
Browse files Browse the repository at this point in the history
  • Loading branch information
moeriki committed Jan 22, 2021
1 parent 5125168 commit 6cb5fde
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 6cb5fde

Please sign in to comment.