Suggest jsx: "react" in tsconfig (#7472)

This commit is contained in:
Darius Tall
2019-08-03 19:21:51 -05:00
committed by Ian Schmitz
parent 032cdf75d3
commit 30fc0bf5ed

View File

@@ -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' },
};