From 41891a78b9f126883b7232cf4a0950875363c9f7 Mon Sep 17 00:00:00 2001 From: Jirat Ki Date: Tue, 27 Oct 2020 11:30:20 +0800 Subject: [PATCH] fix: correct JsxEmit value typo --- packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js b/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js index 00139ee4caf..a4cd342f0e5 100644 --- a/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js +++ b/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js @@ -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')