Add affectsModuleResolution: true ot jsx and jsxImportSource options

This commit is contained in:
Wesley Wigham committed 2020-10-30 15:38:20 -07:00
1 parent 6714998e01
commit fe3b3436e6
2 files changed
+5 -3

No files matched your search

+2
View File
@@ -382,6 +382,7 @@ namespace ts {
type: jsxOptionMap,
affectsSourceFile: true,
affectsEmit: true,
affectsModuleResolution: true,
paramType: Diagnostics.KIND,
showInSimplifiedHelpView: true,
category: Diagnostics.Basic_Options,
@@ -802,6 +803,7 @@ namespace ts {
{
name: "jsxImportSource",
type: "string",
affectsModuleResolution: true,
category: Diagnostics.Advanced_Options,
description: Diagnostics.Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react
},