mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-26 06:05:47 +08:00
Suggest jsx: "react" in tsconfig (#7472)
This commit is contained in:
@@ -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' },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user