mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Make jsx: react the default for implicit js/ts projects (#152256)
Make jsx: react the default Fixes #152150 This fixes imports of `react` getting removed with TS 4.7 in implicit projects
This commit is contained in:
@@ -26,7 +26,7 @@ const defaultProjectConfig = Object.freeze<Proto.ExternalProjectCompilerOptions>
|
||||
module: 'ESNext' as Proto.ModuleKind,
|
||||
moduleResolution: 'Node' as Proto.ModuleResolutionKind,
|
||||
target: 'ES2020' as Proto.ScriptTarget,
|
||||
jsx: 'preserve' as Proto.JsxEmit,
|
||||
jsx: 'react' as Proto.JsxEmit,
|
||||
});
|
||||
|
||||
export function inferredProjectCompilerOptions(
|
||||
|
||||
Reference in New Issue
Block a user