diff --git a/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js b/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js index a73b8c0db3b..ebd93d7b667 100644 --- a/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js +++ b/packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js @@ -125,9 +125,8 @@ function verifyTypeScriptSetup() { isolatedModules: { value: true, reason: 'implementation limitation' }, noEmit: { value: true }, jsx: { - parsedValue: ts.JsxEmit.Preserve, - value: 'preserve', - reason: 'JSX is compiled by Babel', + parsedValue: ts.JsxEmit.React, + suggested: 'react', }, paths: { value: undefined, reason: 'aliased imports are not supported' }, };