typescript 4.6.0-dev.20211201 → 4.6.0-dev.20211205
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +172 -122
- package/lib/tsserver.js +200 -134
- package/lib/tsserverlibrary.d.ts +2 -0
- package/lib/tsserverlibrary.js +200 -134
- package/lib/typescript.d.ts +2 -0
- package/lib/typescript.js +198 -132
- package/lib/typescriptServices.d.ts +2 -0
- package/lib/typescriptServices.js +198 -132
- package/lib/typingsInstaller.js +153 -124
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
69
69
|
var ts;
|
|
70
70
|
(function (ts) {
|
|
71
71
|
ts.versionMajorMinor = "4.6";
|
|
72
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
72
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20211205";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
function tryGetNativeMap() {
|
|
@@ -738,7 +738,11 @@ var ts;
|
|
|
738
738
|
}
|
|
739
739
|
return deduplicated;
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function createSortedArray() {
|
|
742
|
+
return [];
|
|
743
|
+
}
|
|
744
|
+
ts.createSortedArray = createSortedArray;
|
|
745
|
+
function insertSorted(array, insert, compare, allowDuplicates) {
|
|
742
746
|
if (array.length === 0) {
|
|
743
747
|
array.push(insert);
|
|
744
748
|
return;
|
|
@@ -747,6 +751,9 @@ var ts;
|
|
|
747
751
|
if (insertIndex < 0) {
|
|
748
752
|
array.splice(~insertIndex, 0, insert);
|
|
749
753
|
}
|
|
754
|
+
else if (allowDuplicates) {
|
|
755
|
+
array.splice(insertIndex, 0, insert);
|
|
756
|
+
}
|
|
750
757
|
}
|
|
751
758
|
ts.insertSorted = insertSorted;
|
|
752
759
|
function sortAndDeduplicate(array, comparer, equalityComparer) {
|
|
@@ -5431,6 +5438,7 @@ var ts;
|
|
|
5431
5438
|
Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: diag(2308, ts.DiagnosticCategory.Error, "Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308", "Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),
|
|
5432
5439
|
An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements: diag(2309, ts.DiagnosticCategory.Error, "An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309", "An export assignment cannot be used in a module with other exported elements."),
|
|
5433
5440
|
Type_0_recursively_references_itself_as_a_base_type: diag(2310, ts.DiagnosticCategory.Error, "Type_0_recursively_references_itself_as_a_base_type_2310", "Type '{0}' recursively references itself as a base type."),
|
|
5441
|
+
Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function: diag(2311, ts.DiagnosticCategory.Error, "Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311", "Cannot find name '{0}'. Did you mean to write this in an async function?"),
|
|
5434
5442
|
An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2312, ts.DiagnosticCategory.Error, "An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312", "An interface can only extend an object type or intersection of object types with statically known members."),
|
|
5435
5443
|
Type_parameter_0_has_a_circular_constraint: diag(2313, ts.DiagnosticCategory.Error, "Type_parameter_0_has_a_circular_constraint_2313", "Type parameter '{0}' has a circular constraint."),
|
|
5436
5444
|
Generic_type_0_requires_1_type_argument_s: diag(2314, ts.DiagnosticCategory.Error, "Generic_type_0_requires_1_type_argument_s_2314", "Generic type '{0}' requires {1} type argument(s)."),
|
|
@@ -16516,6 +16524,10 @@ var ts;
|
|
|
16516
16524
|
return text.replace(/\$/gm, "\\$");
|
|
16517
16525
|
}
|
|
16518
16526
|
ts.escapeSnippetText = escapeSnippetText;
|
|
16527
|
+
function isThisTypeParameter(type) {
|
|
16528
|
+
return !!(type.flags & 262144 && type.isThisType);
|
|
16529
|
+
}
|
|
16530
|
+
ts.isThisTypeParameter = isThisTypeParameter;
|
|
16519
16531
|
})(ts || (ts = {}));
|
|
16520
16532
|
var ts;
|
|
16521
16533
|
(function (ts) {
|
|
@@ -30696,7 +30708,11 @@ var ts;
|
|
|
30696
30708
|
})(ts || (ts = {}));
|
|
30697
30709
|
var ts;
|
|
30698
30710
|
(function (ts) {
|
|
30699
|
-
ts.compileOnSaveCommandLineOption = {
|
|
30711
|
+
ts.compileOnSaveCommandLineOption = {
|
|
30712
|
+
name: "compileOnSave",
|
|
30713
|
+
type: "boolean",
|
|
30714
|
+
defaultValueDescription: false,
|
|
30715
|
+
};
|
|
30700
30716
|
var jsxOptionMap = new ts.Map(ts.getEntries({
|
|
30701
30717
|
"preserve": 1,
|
|
30702
30718
|
"react-native": 3,
|
|
@@ -30789,6 +30805,7 @@ var ts;
|
|
|
30789
30805
|
})),
|
|
30790
30806
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30791
30807
|
description: ts.Diagnostics.Specify_how_the_TypeScript_watch_mode_works,
|
|
30808
|
+
defaultValueDescription: ts.WatchFileKind.UseFsEvents,
|
|
30792
30809
|
},
|
|
30793
30810
|
{
|
|
30794
30811
|
name: "watchDirectory",
|
|
@@ -30800,6 +30817,7 @@ var ts;
|
|
|
30800
30817
|
})),
|
|
30801
30818
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30802
30819
|
description: ts.Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,
|
|
30820
|
+
defaultValueDescription: ts.WatchDirectoryKind.UseFsEvents,
|
|
30803
30821
|
},
|
|
30804
30822
|
{
|
|
30805
30823
|
name: "fallbackPolling",
|
|
@@ -30811,13 +30829,14 @@ var ts;
|
|
|
30811
30829
|
})),
|
|
30812
30830
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30813
30831
|
description: ts.Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,
|
|
30832
|
+
defaultValueDescription: ts.PollingWatchKind.PriorityInterval,
|
|
30814
30833
|
},
|
|
30815
30834
|
{
|
|
30816
30835
|
name: "synchronousWatchDirectory",
|
|
30817
30836
|
type: "boolean",
|
|
30818
30837
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30819
30838
|
description: ts.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,
|
|
30820
|
-
defaultValueDescription:
|
|
30839
|
+
defaultValueDescription: false,
|
|
30821
30840
|
},
|
|
30822
30841
|
{
|
|
30823
30842
|
name: "excludeDirectories",
|
|
@@ -30852,13 +30871,13 @@ var ts;
|
|
|
30852
30871
|
showInSimplifiedHelpView: true,
|
|
30853
30872
|
category: ts.Diagnostics.Command_line_Options,
|
|
30854
30873
|
description: ts.Diagnostics.Print_this_message,
|
|
30855
|
-
defaultValueDescription:
|
|
30874
|
+
defaultValueDescription: false,
|
|
30856
30875
|
},
|
|
30857
30876
|
{
|
|
30858
30877
|
name: "help",
|
|
30859
30878
|
shortName: "?",
|
|
30860
30879
|
type: "boolean",
|
|
30861
|
-
defaultValueDescription:
|
|
30880
|
+
defaultValueDescription: false,
|
|
30862
30881
|
},
|
|
30863
30882
|
{
|
|
30864
30883
|
name: "watch",
|
|
@@ -30868,7 +30887,7 @@ var ts;
|
|
|
30868
30887
|
isCommandLineOnly: true,
|
|
30869
30888
|
category: ts.Diagnostics.Command_line_Options,
|
|
30870
30889
|
description: ts.Diagnostics.Watch_input_files,
|
|
30871
|
-
defaultValueDescription:
|
|
30890
|
+
defaultValueDescription: false,
|
|
30872
30891
|
},
|
|
30873
30892
|
{
|
|
30874
30893
|
name: "preserveWatchOutput",
|
|
@@ -30876,28 +30895,28 @@ var ts;
|
|
|
30876
30895
|
showInSimplifiedHelpView: false,
|
|
30877
30896
|
category: ts.Diagnostics.Output_Formatting,
|
|
30878
30897
|
description: ts.Diagnostics.Disable_wiping_the_console_in_watch_mode,
|
|
30879
|
-
defaultValueDescription:
|
|
30898
|
+
defaultValueDescription: false,
|
|
30880
30899
|
},
|
|
30881
30900
|
{
|
|
30882
30901
|
name: "listFiles",
|
|
30883
30902
|
type: "boolean",
|
|
30884
30903
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30885
30904
|
description: ts.Diagnostics.Print_all_of_the_files_read_during_the_compilation,
|
|
30886
|
-
defaultValueDescription:
|
|
30905
|
+
defaultValueDescription: false,
|
|
30887
30906
|
},
|
|
30888
30907
|
{
|
|
30889
30908
|
name: "explainFiles",
|
|
30890
30909
|
type: "boolean",
|
|
30891
30910
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30892
30911
|
description: ts.Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included,
|
|
30893
|
-
defaultValueDescription:
|
|
30912
|
+
defaultValueDescription: false,
|
|
30894
30913
|
},
|
|
30895
30914
|
{
|
|
30896
30915
|
name: "listEmittedFiles",
|
|
30897
30916
|
type: "boolean",
|
|
30898
30917
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30899
30918
|
description: ts.Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,
|
|
30900
|
-
defaultValueDescription:
|
|
30919
|
+
defaultValueDescription: false,
|
|
30901
30920
|
},
|
|
30902
30921
|
{
|
|
30903
30922
|
name: "pretty",
|
|
@@ -30905,28 +30924,28 @@ var ts;
|
|
|
30905
30924
|
showInSimplifiedHelpView: true,
|
|
30906
30925
|
category: ts.Diagnostics.Output_Formatting,
|
|
30907
30926
|
description: ts.Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,
|
|
30908
|
-
defaultValueDescription:
|
|
30927
|
+
defaultValueDescription: true,
|
|
30909
30928
|
},
|
|
30910
30929
|
{
|
|
30911
30930
|
name: "traceResolution",
|
|
30912
30931
|
type: "boolean",
|
|
30913
30932
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30914
30933
|
description: ts.Diagnostics.Log_paths_used_during_the_moduleResolution_process,
|
|
30915
|
-
defaultValueDescription:
|
|
30934
|
+
defaultValueDescription: false,
|
|
30916
30935
|
},
|
|
30917
30936
|
{
|
|
30918
30937
|
name: "diagnostics",
|
|
30919
30938
|
type: "boolean",
|
|
30920
30939
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30921
30940
|
description: ts.Diagnostics.Output_compiler_performance_information_after_building,
|
|
30922
|
-
defaultValueDescription:
|
|
30941
|
+
defaultValueDescription: false,
|
|
30923
30942
|
},
|
|
30924
30943
|
{
|
|
30925
30944
|
name: "extendedDiagnostics",
|
|
30926
30945
|
type: "boolean",
|
|
30927
30946
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30928
30947
|
description: ts.Diagnostics.Output_more_detailed_compiler_performance_information_after_building,
|
|
30929
|
-
defaultValueDescription:
|
|
30948
|
+
defaultValueDescription: false,
|
|
30930
30949
|
},
|
|
30931
30950
|
{
|
|
30932
30951
|
name: "generateCpuProfile",
|
|
@@ -30962,7 +30981,7 @@ var ts;
|
|
|
30962
30981
|
affectsEmit: true,
|
|
30963
30982
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30964
30983
|
description: ts.Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,
|
|
30965
|
-
defaultValueDescription:
|
|
30984
|
+
defaultValueDescription: false,
|
|
30966
30985
|
},
|
|
30967
30986
|
{
|
|
30968
30987
|
name: "locale",
|
|
@@ -30997,7 +31016,7 @@ var ts;
|
|
|
30997
31016
|
showInSimplifiedHelpView: true,
|
|
30998
31017
|
category: ts.Diagnostics.Language_and_Environment,
|
|
30999
31018
|
description: ts.Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,
|
|
31000
|
-
defaultValueDescription:
|
|
31019
|
+
defaultValueDescription: 0,
|
|
31001
31020
|
};
|
|
31002
31021
|
var commandOptionsWithoutBuild = [
|
|
31003
31022
|
{
|
|
@@ -31006,7 +31025,7 @@ var ts;
|
|
|
31006
31025
|
showInSimplifiedHelpView: true,
|
|
31007
31026
|
category: ts.Diagnostics.Command_line_Options,
|
|
31008
31027
|
description: ts.Diagnostics.Show_all_compiler_options,
|
|
31009
|
-
defaultValueDescription:
|
|
31028
|
+
defaultValueDescription: false,
|
|
31010
31029
|
},
|
|
31011
31030
|
{
|
|
31012
31031
|
name: "version",
|
|
@@ -31015,7 +31034,7 @@ var ts;
|
|
|
31015
31034
|
showInSimplifiedHelpView: true,
|
|
31016
31035
|
category: ts.Diagnostics.Command_line_Options,
|
|
31017
31036
|
description: ts.Diagnostics.Print_the_compiler_s_version,
|
|
31018
|
-
defaultValueDescription:
|
|
31037
|
+
defaultValueDescription: false,
|
|
31019
31038
|
},
|
|
31020
31039
|
{
|
|
31021
31040
|
name: "init",
|
|
@@ -31023,7 +31042,7 @@ var ts;
|
|
|
31023
31042
|
showInSimplifiedHelpView: true,
|
|
31024
31043
|
category: ts.Diagnostics.Command_line_Options,
|
|
31025
31044
|
description: ts.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,
|
|
31026
|
-
defaultValueDescription:
|
|
31045
|
+
defaultValueDescription: false,
|
|
31027
31046
|
},
|
|
31028
31047
|
{
|
|
31029
31048
|
name: "project",
|
|
@@ -31042,7 +31061,7 @@ var ts;
|
|
|
31042
31061
|
showInSimplifiedHelpView: true,
|
|
31043
31062
|
category: ts.Diagnostics.Command_line_Options,
|
|
31044
31063
|
description: ts.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,
|
|
31045
|
-
defaultValueDescription:
|
|
31064
|
+
defaultValueDescription: false,
|
|
31046
31065
|
},
|
|
31047
31066
|
{
|
|
31048
31067
|
name: "showConfig",
|
|
@@ -31051,7 +31070,7 @@ var ts;
|
|
|
31051
31070
|
category: ts.Diagnostics.Command_line_Options,
|
|
31052
31071
|
isCommandLineOnly: true,
|
|
31053
31072
|
description: ts.Diagnostics.Print_the_final_configuration_instead_of_building,
|
|
31054
|
-
defaultValueDescription:
|
|
31073
|
+
defaultValueDescription: false,
|
|
31055
31074
|
},
|
|
31056
31075
|
{
|
|
31057
31076
|
name: "listFilesOnly",
|
|
@@ -31061,7 +31080,7 @@ var ts;
|
|
|
31061
31080
|
affectsEmit: true,
|
|
31062
31081
|
isCommandLineOnly: true,
|
|
31063
31082
|
description: ts.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,
|
|
31064
|
-
defaultValueDescription:
|
|
31083
|
+
defaultValueDescription: false,
|
|
31065
31084
|
},
|
|
31066
31085
|
ts.targetOptionDeclaration,
|
|
31067
31086
|
{
|
|
@@ -31087,13 +31106,15 @@ var ts;
|
|
|
31087
31106
|
showInSimplifiedHelpView: true,
|
|
31088
31107
|
category: ts.Diagnostics.Modules,
|
|
31089
31108
|
description: ts.Diagnostics.Specify_what_module_code_is_generated,
|
|
31109
|
+
defaultValueDescription: undefined,
|
|
31090
31110
|
},
|
|
31091
31111
|
{
|
|
31092
31112
|
name: "lib",
|
|
31093
31113
|
type: "list",
|
|
31094
31114
|
element: {
|
|
31095
31115
|
name: "lib",
|
|
31096
|
-
type: ts.libMap
|
|
31116
|
+
type: ts.libMap,
|
|
31117
|
+
defaultValueDescription: undefined,
|
|
31097
31118
|
},
|
|
31098
31119
|
affectsProgramStructure: true,
|
|
31099
31120
|
showInSimplifiedHelpView: true,
|
|
@@ -31108,7 +31129,7 @@ var ts;
|
|
|
31108
31129
|
showInSimplifiedHelpView: true,
|
|
31109
31130
|
category: ts.Diagnostics.JavaScript_Support,
|
|
31110
31131
|
description: ts.Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,
|
|
31111
|
-
defaultValueDescription:
|
|
31132
|
+
defaultValueDescription: false,
|
|
31112
31133
|
},
|
|
31113
31134
|
{
|
|
31114
31135
|
name: "checkJs",
|
|
@@ -31116,7 +31137,7 @@ var ts;
|
|
|
31116
31137
|
showInSimplifiedHelpView: true,
|
|
31117
31138
|
category: ts.Diagnostics.JavaScript_Support,
|
|
31118
31139
|
description: ts.Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,
|
|
31119
|
-
defaultValueDescription:
|
|
31140
|
+
defaultValueDescription: false,
|
|
31120
31141
|
},
|
|
31121
31142
|
{
|
|
31122
31143
|
name: "jsx",
|
|
@@ -31128,7 +31149,7 @@ var ts;
|
|
|
31128
31149
|
showInSimplifiedHelpView: true,
|
|
31129
31150
|
category: ts.Diagnostics.Language_and_Environment,
|
|
31130
31151
|
description: ts.Diagnostics.Specify_what_JSX_code_is_generated,
|
|
31131
|
-
defaultValueDescription:
|
|
31152
|
+
defaultValueDescription: undefined,
|
|
31132
31153
|
},
|
|
31133
31154
|
{
|
|
31134
31155
|
name: "declaration",
|
|
@@ -31148,7 +31169,7 @@ var ts;
|
|
|
31148
31169
|
showInSimplifiedHelpView: true,
|
|
31149
31170
|
category: ts.Diagnostics.Emit,
|
|
31150
31171
|
transpileOptionValue: undefined,
|
|
31151
|
-
defaultValueDescription:
|
|
31172
|
+
defaultValueDescription: false,
|
|
31152
31173
|
description: ts.Diagnostics.Create_sourcemaps_for_d_ts_files
|
|
31153
31174
|
},
|
|
31154
31175
|
{
|
|
@@ -31159,7 +31180,7 @@ var ts;
|
|
|
31159
31180
|
category: ts.Diagnostics.Emit,
|
|
31160
31181
|
description: ts.Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,
|
|
31161
31182
|
transpileOptionValue: undefined,
|
|
31162
|
-
defaultValueDescription:
|
|
31183
|
+
defaultValueDescription: false,
|
|
31163
31184
|
},
|
|
31164
31185
|
{
|
|
31165
31186
|
name: "sourceMap",
|
|
@@ -31167,7 +31188,7 @@ var ts;
|
|
|
31167
31188
|
affectsEmit: true,
|
|
31168
31189
|
showInSimplifiedHelpView: true,
|
|
31169
31190
|
category: ts.Diagnostics.Emit,
|
|
31170
|
-
defaultValueDescription:
|
|
31191
|
+
defaultValueDescription: false,
|
|
31171
31192
|
description: ts.Diagnostics.Create_source_map_files_for_emitted_JavaScript_files,
|
|
31172
31193
|
},
|
|
31173
31194
|
{
|
|
@@ -31208,7 +31229,7 @@ var ts;
|
|
|
31208
31229
|
isTSConfigOnly: true,
|
|
31209
31230
|
category: ts.Diagnostics.Projects,
|
|
31210
31231
|
transpileOptionValue: undefined,
|
|
31211
|
-
defaultValueDescription:
|
|
31232
|
+
defaultValueDescription: false,
|
|
31212
31233
|
description: ts.Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references,
|
|
31213
31234
|
},
|
|
31214
31235
|
{
|
|
@@ -31228,7 +31249,7 @@ var ts;
|
|
|
31228
31249
|
affectsEmit: true,
|
|
31229
31250
|
showInSimplifiedHelpView: true,
|
|
31230
31251
|
category: ts.Diagnostics.Emit,
|
|
31231
|
-
defaultValueDescription:
|
|
31252
|
+
defaultValueDescription: false,
|
|
31232
31253
|
description: ts.Diagnostics.Disable_emitting_comments,
|
|
31233
31254
|
},
|
|
31234
31255
|
{
|
|
@@ -31238,7 +31259,7 @@ var ts;
|
|
|
31238
31259
|
category: ts.Diagnostics.Emit,
|
|
31239
31260
|
description: ts.Diagnostics.Disable_emitting_files_from_a_compilation,
|
|
31240
31261
|
transpileOptionValue: undefined,
|
|
31241
|
-
defaultValueDescription:
|
|
31262
|
+
defaultValueDescription: false,
|
|
31242
31263
|
},
|
|
31243
31264
|
{
|
|
31244
31265
|
name: "importHelpers",
|
|
@@ -31246,7 +31267,7 @@ var ts;
|
|
|
31246
31267
|
affectsEmit: true,
|
|
31247
31268
|
category: ts.Diagnostics.Emit,
|
|
31248
31269
|
description: ts.Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,
|
|
31249
|
-
defaultValueDescription:
|
|
31270
|
+
defaultValueDescription: false,
|
|
31250
31271
|
},
|
|
31251
31272
|
{
|
|
31252
31273
|
name: "importsNotUsedAsValues",
|
|
@@ -31258,7 +31279,8 @@ var ts;
|
|
|
31258
31279
|
affectsEmit: true,
|
|
31259
31280
|
affectsSemanticDiagnostics: true,
|
|
31260
31281
|
category: ts.Diagnostics.Emit,
|
|
31261
|
-
description: ts.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types
|
|
31282
|
+
description: ts.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,
|
|
31283
|
+
defaultValueDescription: 0,
|
|
31262
31284
|
},
|
|
31263
31285
|
{
|
|
31264
31286
|
name: "downlevelIteration",
|
|
@@ -31266,7 +31288,7 @@ var ts;
|
|
|
31266
31288
|
affectsEmit: true,
|
|
31267
31289
|
category: ts.Diagnostics.Emit,
|
|
31268
31290
|
description: ts.Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,
|
|
31269
|
-
defaultValueDescription:
|
|
31291
|
+
defaultValueDescription: false,
|
|
31270
31292
|
},
|
|
31271
31293
|
{
|
|
31272
31294
|
name: "isolatedModules",
|
|
@@ -31274,7 +31296,7 @@ var ts;
|
|
|
31274
31296
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31275
31297
|
description: ts.Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,
|
|
31276
31298
|
transpileOptionValue: true,
|
|
31277
|
-
defaultValueDescription:
|
|
31299
|
+
defaultValueDescription: false,
|
|
31278
31300
|
},
|
|
31279
31301
|
{
|
|
31280
31302
|
name: "strict",
|
|
@@ -31282,7 +31304,7 @@ var ts;
|
|
|
31282
31304
|
showInSimplifiedHelpView: true,
|
|
31283
31305
|
category: ts.Diagnostics.Type_Checking,
|
|
31284
31306
|
description: ts.Diagnostics.Enable_all_strict_type_checking_options,
|
|
31285
|
-
defaultValueDescription:
|
|
31307
|
+
defaultValueDescription: false,
|
|
31286
31308
|
},
|
|
31287
31309
|
{
|
|
31288
31310
|
name: "noImplicitAny",
|
|
@@ -31343,7 +31365,7 @@ var ts;
|
|
|
31343
31365
|
strictFlag: true,
|
|
31344
31366
|
category: ts.Diagnostics.Type_Checking,
|
|
31345
31367
|
description: ts.Diagnostics.Type_catch_clause_variables_as_unknown_instead_of_any,
|
|
31346
|
-
defaultValueDescription:
|
|
31368
|
+
defaultValueDescription: false,
|
|
31347
31369
|
},
|
|
31348
31370
|
{
|
|
31349
31371
|
name: "alwaysStrict",
|
|
@@ -31360,7 +31382,7 @@ var ts;
|
|
|
31360
31382
|
affectsSemanticDiagnostics: true,
|
|
31361
31383
|
category: ts.Diagnostics.Type_Checking,
|
|
31362
31384
|
description: ts.Diagnostics.Enable_error_reporting_when_a_local_variables_aren_t_read,
|
|
31363
|
-
defaultValueDescription:
|
|
31385
|
+
defaultValueDescription: false,
|
|
31364
31386
|
},
|
|
31365
31387
|
{
|
|
31366
31388
|
name: "noUnusedParameters",
|
|
@@ -31368,7 +31390,7 @@ var ts;
|
|
|
31368
31390
|
affectsSemanticDiagnostics: true,
|
|
31369
31391
|
category: ts.Diagnostics.Type_Checking,
|
|
31370
31392
|
description: ts.Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,
|
|
31371
|
-
defaultValueDescription:
|
|
31393
|
+
defaultValueDescription: false,
|
|
31372
31394
|
},
|
|
31373
31395
|
{
|
|
31374
31396
|
name: "exactOptionalPropertyTypes",
|
|
@@ -31376,7 +31398,7 @@ var ts;
|
|
|
31376
31398
|
affectsSemanticDiagnostics: true,
|
|
31377
31399
|
category: ts.Diagnostics.Type_Checking,
|
|
31378
31400
|
description: ts.Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,
|
|
31379
|
-
defaultValueDescription:
|
|
31401
|
+
defaultValueDescription: false,
|
|
31380
31402
|
},
|
|
31381
31403
|
{
|
|
31382
31404
|
name: "noImplicitReturns",
|
|
@@ -31384,7 +31406,7 @@ var ts;
|
|
|
31384
31406
|
affectsSemanticDiagnostics: true,
|
|
31385
31407
|
category: ts.Diagnostics.Type_Checking,
|
|
31386
31408
|
description: ts.Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,
|
|
31387
|
-
defaultValueDescription:
|
|
31409
|
+
defaultValueDescription: false,
|
|
31388
31410
|
},
|
|
31389
31411
|
{
|
|
31390
31412
|
name: "noFallthroughCasesInSwitch",
|
|
@@ -31393,7 +31415,7 @@ var ts;
|
|
|
31393
31415
|
affectsSemanticDiagnostics: true,
|
|
31394
31416
|
category: ts.Diagnostics.Type_Checking,
|
|
31395
31417
|
description: ts.Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,
|
|
31396
|
-
defaultValueDescription:
|
|
31418
|
+
defaultValueDescription: false,
|
|
31397
31419
|
},
|
|
31398
31420
|
{
|
|
31399
31421
|
name: "noUncheckedIndexedAccess",
|
|
@@ -31401,7 +31423,7 @@ var ts;
|
|
|
31401
31423
|
affectsSemanticDiagnostics: true,
|
|
31402
31424
|
category: ts.Diagnostics.Type_Checking,
|
|
31403
31425
|
description: ts.Diagnostics.Include_undefined_in_index_signature_results,
|
|
31404
|
-
defaultValueDescription:
|
|
31426
|
+
defaultValueDescription: false,
|
|
31405
31427
|
},
|
|
31406
31428
|
{
|
|
31407
31429
|
name: "noImplicitOverride",
|
|
@@ -31409,7 +31431,7 @@ var ts;
|
|
|
31409
31431
|
affectsSemanticDiagnostics: true,
|
|
31410
31432
|
category: ts.Diagnostics.Type_Checking,
|
|
31411
31433
|
description: ts.Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,
|
|
31412
|
-
defaultValueDescription:
|
|
31434
|
+
defaultValueDescription: false,
|
|
31413
31435
|
},
|
|
31414
31436
|
{
|
|
31415
31437
|
name: "noPropertyAccessFromIndexSignature",
|
|
@@ -31417,7 +31439,7 @@ var ts;
|
|
|
31417
31439
|
showInSimplifiedHelpView: false,
|
|
31418
31440
|
category: ts.Diagnostics.Type_Checking,
|
|
31419
31441
|
description: ts.Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,
|
|
31420
|
-
defaultValueDescription:
|
|
31442
|
+
defaultValueDescription: false,
|
|
31421
31443
|
},
|
|
31422
31444
|
{
|
|
31423
31445
|
name: "moduleResolution",
|
|
@@ -31506,14 +31528,14 @@ var ts;
|
|
|
31506
31528
|
showInSimplifiedHelpView: true,
|
|
31507
31529
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31508
31530
|
description: ts.Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,
|
|
31509
|
-
defaultValueDescription:
|
|
31531
|
+
defaultValueDescription: false,
|
|
31510
31532
|
},
|
|
31511
31533
|
{
|
|
31512
31534
|
name: "preserveSymlinks",
|
|
31513
31535
|
type: "boolean",
|
|
31514
31536
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31515
31537
|
description: ts.Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,
|
|
31516
|
-
defaultValueDescription:
|
|
31538
|
+
defaultValueDescription: false,
|
|
31517
31539
|
},
|
|
31518
31540
|
{
|
|
31519
31541
|
name: "allowUmdGlobalAccess",
|
|
@@ -31521,7 +31543,7 @@ var ts;
|
|
|
31521
31543
|
affectsSemanticDiagnostics: true,
|
|
31522
31544
|
category: ts.Diagnostics.Modules,
|
|
31523
31545
|
description: ts.Diagnostics.Allow_accessing_UMD_globals_from_modules,
|
|
31524
|
-
defaultValueDescription:
|
|
31546
|
+
defaultValueDescription: false,
|
|
31525
31547
|
},
|
|
31526
31548
|
{
|
|
31527
31549
|
name: "sourceRoot",
|
|
@@ -31545,7 +31567,7 @@ var ts;
|
|
|
31545
31567
|
affectsEmit: true,
|
|
31546
31568
|
category: ts.Diagnostics.Emit,
|
|
31547
31569
|
description: ts.Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,
|
|
31548
|
-
defaultValueDescription:
|
|
31570
|
+
defaultValueDescription: false,
|
|
31549
31571
|
},
|
|
31550
31572
|
{
|
|
31551
31573
|
name: "inlineSources",
|
|
@@ -31553,7 +31575,7 @@ var ts;
|
|
|
31553
31575
|
affectsEmit: true,
|
|
31554
31576
|
category: ts.Diagnostics.Emit,
|
|
31555
31577
|
description: ts.Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,
|
|
31556
|
-
defaultValueDescription:
|
|
31578
|
+
defaultValueDescription: false,
|
|
31557
31579
|
},
|
|
31558
31580
|
{
|
|
31559
31581
|
name: "experimentalDecorators",
|
|
@@ -31561,7 +31583,7 @@ var ts;
|
|
|
31561
31583
|
affectsSemanticDiagnostics: true,
|
|
31562
31584
|
category: ts.Diagnostics.Language_and_Environment,
|
|
31563
31585
|
description: ts.Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators,
|
|
31564
|
-
defaultValueDescription:
|
|
31586
|
+
defaultValueDescription: false,
|
|
31565
31587
|
},
|
|
31566
31588
|
{
|
|
31567
31589
|
name: "emitDecoratorMetadata",
|
|
@@ -31570,7 +31592,7 @@ var ts;
|
|
|
31570
31592
|
affectsEmit: true,
|
|
31571
31593
|
category: ts.Diagnostics.Language_and_Environment,
|
|
31572
31594
|
description: ts.Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,
|
|
31573
|
-
defaultValueDescription:
|
|
31595
|
+
defaultValueDescription: false,
|
|
31574
31596
|
},
|
|
31575
31597
|
{
|
|
31576
31598
|
name: "jsxFactory",
|
|
@@ -31601,7 +31623,7 @@ var ts;
|
|
|
31601
31623
|
affectsModuleResolution: true,
|
|
31602
31624
|
category: ts.Diagnostics.Modules,
|
|
31603
31625
|
description: ts.Diagnostics.Enable_importing_json_files,
|
|
31604
|
-
defaultValueDescription:
|
|
31626
|
+
defaultValueDescription: false,
|
|
31605
31627
|
},
|
|
31606
31628
|
{
|
|
31607
31629
|
name: "out",
|
|
@@ -31626,7 +31648,7 @@ var ts;
|
|
|
31626
31648
|
type: "boolean",
|
|
31627
31649
|
category: ts.Diagnostics.Completeness,
|
|
31628
31650
|
description: ts.Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,
|
|
31629
|
-
defaultValueDescription:
|
|
31651
|
+
defaultValueDescription: false,
|
|
31630
31652
|
},
|
|
31631
31653
|
{
|
|
31632
31654
|
name: "charset",
|
|
@@ -31641,7 +31663,7 @@ var ts;
|
|
|
31641
31663
|
affectsEmit: true,
|
|
31642
31664
|
category: ts.Diagnostics.Emit,
|
|
31643
31665
|
description: ts.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,
|
|
31644
|
-
defaultValueDescription:
|
|
31666
|
+
defaultValueDescription: false,
|
|
31645
31667
|
},
|
|
31646
31668
|
{
|
|
31647
31669
|
name: "newLine",
|
|
@@ -31661,7 +31683,7 @@ var ts;
|
|
|
31661
31683
|
affectsSemanticDiagnostics: true,
|
|
31662
31684
|
category: ts.Diagnostics.Output_Formatting,
|
|
31663
31685
|
description: ts.Diagnostics.Disable_truncating_types_in_error_messages,
|
|
31664
|
-
defaultValueDescription:
|
|
31686
|
+
defaultValueDescription: false,
|
|
31665
31687
|
},
|
|
31666
31688
|
{
|
|
31667
31689
|
name: "noLib",
|
|
@@ -31670,7 +31692,7 @@ var ts;
|
|
|
31670
31692
|
affectsProgramStructure: true,
|
|
31671
31693
|
description: ts.Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,
|
|
31672
31694
|
transpileOptionValue: true,
|
|
31673
|
-
defaultValueDescription:
|
|
31695
|
+
defaultValueDescription: false,
|
|
31674
31696
|
},
|
|
31675
31697
|
{
|
|
31676
31698
|
name: "noResolve",
|
|
@@ -31679,7 +31701,7 @@ var ts;
|
|
|
31679
31701
|
category: ts.Diagnostics.Modules,
|
|
31680
31702
|
description: ts.Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,
|
|
31681
31703
|
transpileOptionValue: true,
|
|
31682
|
-
defaultValueDescription:
|
|
31704
|
+
defaultValueDescription: false,
|
|
31683
31705
|
},
|
|
31684
31706
|
{
|
|
31685
31707
|
name: "stripInternal",
|
|
@@ -31687,7 +31709,7 @@ var ts;
|
|
|
31687
31709
|
affectsEmit: true,
|
|
31688
31710
|
category: ts.Diagnostics.Emit,
|
|
31689
31711
|
description: ts.Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,
|
|
31690
|
-
defaultValueDescription:
|
|
31712
|
+
defaultValueDescription: false,
|
|
31691
31713
|
},
|
|
31692
31714
|
{
|
|
31693
31715
|
name: "disableSizeLimit",
|
|
@@ -31695,7 +31717,7 @@ var ts;
|
|
|
31695
31717
|
affectsProgramStructure: true,
|
|
31696
31718
|
category: ts.Diagnostics.Editor_Support,
|
|
31697
31719
|
description: ts.Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,
|
|
31698
|
-
defaultValueDescription:
|
|
31720
|
+
defaultValueDescription: false,
|
|
31699
31721
|
},
|
|
31700
31722
|
{
|
|
31701
31723
|
name: "disableSourceOfProjectReferenceRedirect",
|
|
@@ -31703,7 +31725,7 @@ var ts;
|
|
|
31703
31725
|
isTSConfigOnly: true,
|
|
31704
31726
|
category: ts.Diagnostics.Projects,
|
|
31705
31727
|
description: ts.Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,
|
|
31706
|
-
defaultValueDescription:
|
|
31728
|
+
defaultValueDescription: false,
|
|
31707
31729
|
},
|
|
31708
31730
|
{
|
|
31709
31731
|
name: "disableSolutionSearching",
|
|
@@ -31711,7 +31733,7 @@ var ts;
|
|
|
31711
31733
|
isTSConfigOnly: true,
|
|
31712
31734
|
category: ts.Diagnostics.Projects,
|
|
31713
31735
|
description: ts.Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing,
|
|
31714
|
-
defaultValueDescription:
|
|
31736
|
+
defaultValueDescription: false,
|
|
31715
31737
|
},
|
|
31716
31738
|
{
|
|
31717
31739
|
name: "disableReferencedProjectLoad",
|
|
@@ -31719,7 +31741,7 @@ var ts;
|
|
|
31719
31741
|
isTSConfigOnly: true,
|
|
31720
31742
|
category: ts.Diagnostics.Projects,
|
|
31721
31743
|
description: ts.Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,
|
|
31722
|
-
defaultValueDescription:
|
|
31744
|
+
defaultValueDescription: false,
|
|
31723
31745
|
},
|
|
31724
31746
|
{
|
|
31725
31747
|
name: "noImplicitUseStrict",
|
|
@@ -31727,7 +31749,7 @@ var ts;
|
|
|
31727
31749
|
affectsSemanticDiagnostics: true,
|
|
31728
31750
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31729
31751
|
description: ts.Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,
|
|
31730
|
-
defaultValueDescription:
|
|
31752
|
+
defaultValueDescription: false,
|
|
31731
31753
|
},
|
|
31732
31754
|
{
|
|
31733
31755
|
name: "noEmitHelpers",
|
|
@@ -31735,7 +31757,7 @@ var ts;
|
|
|
31735
31757
|
affectsEmit: true,
|
|
31736
31758
|
category: ts.Diagnostics.Emit,
|
|
31737
31759
|
description: ts.Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,
|
|
31738
|
-
defaultValueDescription:
|
|
31760
|
+
defaultValueDescription: false,
|
|
31739
31761
|
},
|
|
31740
31762
|
{
|
|
31741
31763
|
name: "noEmitOnError",
|
|
@@ -31744,7 +31766,7 @@ var ts;
|
|
|
31744
31766
|
category: ts.Diagnostics.Emit,
|
|
31745
31767
|
transpileOptionValue: undefined,
|
|
31746
31768
|
description: ts.Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,
|
|
31747
|
-
defaultValueDescription:
|
|
31769
|
+
defaultValueDescription: false,
|
|
31748
31770
|
},
|
|
31749
31771
|
{
|
|
31750
31772
|
name: "preserveConstEnums",
|
|
@@ -31752,7 +31774,7 @@ var ts;
|
|
|
31752
31774
|
affectsEmit: true,
|
|
31753
31775
|
category: ts.Diagnostics.Emit,
|
|
31754
31776
|
description: ts.Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,
|
|
31755
|
-
defaultValueDescription:
|
|
31777
|
+
defaultValueDescription: false,
|
|
31756
31778
|
},
|
|
31757
31779
|
{
|
|
31758
31780
|
name: "declarationDir",
|
|
@@ -31769,7 +31791,7 @@ var ts;
|
|
|
31769
31791
|
type: "boolean",
|
|
31770
31792
|
category: ts.Diagnostics.Completeness,
|
|
31771
31793
|
description: ts.Diagnostics.Skip_type_checking_all_d_ts_files,
|
|
31772
|
-
defaultValueDescription:
|
|
31794
|
+
defaultValueDescription: false,
|
|
31773
31795
|
},
|
|
31774
31796
|
{
|
|
31775
31797
|
name: "allowUnusedLabels",
|
|
@@ -31778,7 +31800,7 @@ var ts;
|
|
|
31778
31800
|
affectsSemanticDiagnostics: true,
|
|
31779
31801
|
category: ts.Diagnostics.Type_Checking,
|
|
31780
31802
|
description: ts.Diagnostics.Disable_error_reporting_for_unused_labels,
|
|
31781
|
-
defaultValueDescription:
|
|
31803
|
+
defaultValueDescription: undefined,
|
|
31782
31804
|
},
|
|
31783
31805
|
{
|
|
31784
31806
|
name: "allowUnreachableCode",
|
|
@@ -31787,7 +31809,7 @@ var ts;
|
|
|
31787
31809
|
affectsSemanticDiagnostics: true,
|
|
31788
31810
|
category: ts.Diagnostics.Type_Checking,
|
|
31789
31811
|
description: ts.Diagnostics.Disable_error_reporting_for_unreachable_code,
|
|
31790
|
-
defaultValueDescription:
|
|
31812
|
+
defaultValueDescription: undefined,
|
|
31791
31813
|
},
|
|
31792
31814
|
{
|
|
31793
31815
|
name: "suppressExcessPropertyErrors",
|
|
@@ -31795,7 +31817,7 @@ var ts;
|
|
|
31795
31817
|
affectsSemanticDiagnostics: true,
|
|
31796
31818
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31797
31819
|
description: ts.Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,
|
|
31798
|
-
defaultValueDescription:
|
|
31820
|
+
defaultValueDescription: false,
|
|
31799
31821
|
},
|
|
31800
31822
|
{
|
|
31801
31823
|
name: "suppressImplicitAnyIndexErrors",
|
|
@@ -31803,7 +31825,7 @@ var ts;
|
|
|
31803
31825
|
affectsSemanticDiagnostics: true,
|
|
31804
31826
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31805
31827
|
description: ts.Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,
|
|
31806
|
-
defaultValueDescription:
|
|
31828
|
+
defaultValueDescription: false,
|
|
31807
31829
|
},
|
|
31808
31830
|
{
|
|
31809
31831
|
name: "forceConsistentCasingInFileNames",
|
|
@@ -31811,7 +31833,7 @@ var ts;
|
|
|
31811
31833
|
affectsModuleResolution: true,
|
|
31812
31834
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31813
31835
|
description: ts.Diagnostics.Ensure_that_casing_is_correct_in_imports,
|
|
31814
|
-
defaultValueDescription:
|
|
31836
|
+
defaultValueDescription: false,
|
|
31815
31837
|
},
|
|
31816
31838
|
{
|
|
31817
31839
|
name: "maxNodeModuleJsDepth",
|
|
@@ -31819,7 +31841,7 @@ var ts;
|
|
|
31819
31841
|
affectsModuleResolution: true,
|
|
31820
31842
|
category: ts.Diagnostics.JavaScript_Support,
|
|
31821
31843
|
description: ts.Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,
|
|
31822
|
-
defaultValueDescription:
|
|
31844
|
+
defaultValueDescription: 0,
|
|
31823
31845
|
},
|
|
31824
31846
|
{
|
|
31825
31847
|
name: "noStrictGenericChecks",
|
|
@@ -31827,7 +31849,7 @@ var ts;
|
|
|
31827
31849
|
affectsSemanticDiagnostics: true,
|
|
31828
31850
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31829
31851
|
description: ts.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,
|
|
31830
|
-
defaultValueDescription:
|
|
31852
|
+
defaultValueDescription: false,
|
|
31831
31853
|
},
|
|
31832
31854
|
{
|
|
31833
31855
|
name: "useDefineForClassFields",
|
|
@@ -31844,14 +31866,14 @@ var ts;
|
|
|
31844
31866
|
affectsEmit: true,
|
|
31845
31867
|
category: ts.Diagnostics.Emit,
|
|
31846
31868
|
description: ts.Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,
|
|
31847
|
-
defaultValueDescription:
|
|
31869
|
+
defaultValueDescription: false,
|
|
31848
31870
|
},
|
|
31849
31871
|
{
|
|
31850
31872
|
name: "keyofStringsOnly",
|
|
31851
31873
|
type: "boolean",
|
|
31852
31874
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31853
31875
|
description: ts.Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,
|
|
31854
|
-
defaultValueDescription:
|
|
31876
|
+
defaultValueDescription: false,
|
|
31855
31877
|
},
|
|
31856
31878
|
{
|
|
31857
31879
|
name: "plugins",
|
|
@@ -31883,7 +31905,7 @@ var ts;
|
|
|
31883
31905
|
category: ts.Diagnostics.Command_line_Options,
|
|
31884
31906
|
description: ts.Diagnostics.Enable_verbose_logging,
|
|
31885
31907
|
type: "boolean",
|
|
31886
|
-
defaultValueDescription:
|
|
31908
|
+
defaultValueDescription: false,
|
|
31887
31909
|
},
|
|
31888
31910
|
{
|
|
31889
31911
|
name: "dry",
|
|
@@ -31891,7 +31913,7 @@ var ts;
|
|
|
31891
31913
|
category: ts.Diagnostics.Command_line_Options,
|
|
31892
31914
|
description: ts.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,
|
|
31893
31915
|
type: "boolean",
|
|
31894
|
-
defaultValueDescription:
|
|
31916
|
+
defaultValueDescription: false,
|
|
31895
31917
|
},
|
|
31896
31918
|
{
|
|
31897
31919
|
name: "force",
|
|
@@ -31899,14 +31921,14 @@ var ts;
|
|
|
31899
31921
|
category: ts.Diagnostics.Command_line_Options,
|
|
31900
31922
|
description: ts.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,
|
|
31901
31923
|
type: "boolean",
|
|
31902
|
-
defaultValueDescription:
|
|
31924
|
+
defaultValueDescription: false,
|
|
31903
31925
|
},
|
|
31904
31926
|
{
|
|
31905
31927
|
name: "clean",
|
|
31906
31928
|
category: ts.Diagnostics.Command_line_Options,
|
|
31907
31929
|
description: ts.Diagnostics.Delete_the_outputs_of_all_projects,
|
|
31908
31930
|
type: "boolean",
|
|
31909
|
-
defaultValueDescription:
|
|
31931
|
+
defaultValueDescription: false,
|
|
31910
31932
|
}
|
|
31911
31933
|
];
|
|
31912
31934
|
ts.buildOpts = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), ts.optionsForBuild, true);
|
|
@@ -31914,12 +31936,12 @@ var ts;
|
|
|
31914
31936
|
{
|
|
31915
31937
|
name: "enableAutoDiscovery",
|
|
31916
31938
|
type: "boolean",
|
|
31917
|
-
defaultValueDescription:
|
|
31939
|
+
defaultValueDescription: false,
|
|
31918
31940
|
},
|
|
31919
31941
|
{
|
|
31920
31942
|
name: "enable",
|
|
31921
31943
|
type: "boolean",
|
|
31922
|
-
defaultValueDescription:
|
|
31944
|
+
defaultValueDescription: false,
|
|
31923
31945
|
},
|
|
31924
31946
|
{
|
|
31925
31947
|
name: "include",
|
|
@@ -31940,7 +31962,7 @@ var ts;
|
|
|
31940
31962
|
{
|
|
31941
31963
|
name: "disableFilenameBasedTypeAcquisition",
|
|
31942
31964
|
type: "boolean",
|
|
31943
|
-
defaultValueDescription:
|
|
31965
|
+
defaultValueDescription: false,
|
|
31944
31966
|
},
|
|
31945
31967
|
];
|
|
31946
31968
|
function createOptionNameMap(optionDeclarations) {
|
|
@@ -33801,7 +33823,10 @@ var ts;
|
|
|
33801
33823
|
}
|
|
33802
33824
|
}
|
|
33803
33825
|
var failedLookupLocations = [];
|
|
33804
|
-
var
|
|
33826
|
+
var features = ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.Node12 ? NodeResolutionFeatures.Node12Default :
|
|
33827
|
+
ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.NodeNext ? NodeResolutionFeatures.NodeNextDefault :
|
|
33828
|
+
NodeResolutionFeatures.None;
|
|
33829
|
+
var moduleResolutionState = { compilerOptions: options, host: host, traceEnabled: traceEnabled, failedLookupLocations: failedLookupLocations, packageJsonInfoCache: cache, features: features, conditions: ["node", "require", "types"] };
|
|
33805
33830
|
var resolved = primaryLookup();
|
|
33806
33831
|
var primary = true;
|
|
33807
33832
|
if (!resolved) {
|
|
@@ -34354,13 +34379,15 @@ var ts;
|
|
|
34354
34379
|
NodeResolutionFeatures[NodeResolutionFeatures["Exports"] = 8] = "Exports";
|
|
34355
34380
|
NodeResolutionFeatures[NodeResolutionFeatures["ExportsPatternTrailers"] = 16] = "ExportsPatternTrailers";
|
|
34356
34381
|
NodeResolutionFeatures[NodeResolutionFeatures["AllFeatures"] = 30] = "AllFeatures";
|
|
34382
|
+
NodeResolutionFeatures[NodeResolutionFeatures["Node12Default"] = 14] = "Node12Default";
|
|
34383
|
+
NodeResolutionFeatures[NodeResolutionFeatures["NodeNextDefault"] = 30] = "NodeNextDefault";
|
|
34357
34384
|
NodeResolutionFeatures[NodeResolutionFeatures["EsmMode"] = 32] = "EsmMode";
|
|
34358
34385
|
})(NodeResolutionFeatures || (NodeResolutionFeatures = {}));
|
|
34359
34386
|
function node12ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {
|
|
34360
|
-
return nodeNextModuleNameResolverWorker(NodeResolutionFeatures.
|
|
34387
|
+
return nodeNextModuleNameResolverWorker(NodeResolutionFeatures.Node12Default, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode);
|
|
34361
34388
|
}
|
|
34362
34389
|
function nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {
|
|
34363
|
-
return nodeNextModuleNameResolverWorker(NodeResolutionFeatures.
|
|
34390
|
+
return nodeNextModuleNameResolverWorker(NodeResolutionFeatures.NodeNextDefault, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode);
|
|
34364
34391
|
}
|
|
34365
34392
|
function nodeNextModuleNameResolverWorker(features, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {
|
|
34366
34393
|
var containingDirectory = ts.getDirectoryPath(containingFile);
|
|
@@ -38287,6 +38314,7 @@ var ts;
|
|
|
38287
38314
|
getIndexInfosOfType: getIndexInfosOfType,
|
|
38288
38315
|
getSignaturesOfType: getSignaturesOfType,
|
|
38289
38316
|
getIndexTypeOfType: function (type, kind) { return getIndexTypeOfType(type, kind === 0 ? stringType : numberType); },
|
|
38317
|
+
getIndexType: function (type) { return getIndexType(type); },
|
|
38290
38318
|
getBaseTypes: getBaseTypes,
|
|
38291
38319
|
getBaseTypeOfLiteralType: getBaseTypeOfLiteralType,
|
|
38292
38320
|
getWidenedType: getWidenedType,
|
|
@@ -39437,11 +39465,12 @@ var ts;
|
|
|
39437
39465
|
}
|
|
39438
39466
|
}
|
|
39439
39467
|
}
|
|
39440
|
-
function resolveName(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals) {
|
|
39468
|
+
function resolveName(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggstions) {
|
|
39441
39469
|
if (excludeGlobals === void 0) { excludeGlobals = false; }
|
|
39442
|
-
|
|
39470
|
+
if (getSpellingSuggstions === void 0) { getSpellingSuggstions = true; }
|
|
39471
|
+
return resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggstions, getSymbol);
|
|
39443
39472
|
}
|
|
39444
|
-
function resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, lookup) {
|
|
39473
|
+
function resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggestions, lookup) {
|
|
39445
39474
|
var _a, _b, _c;
|
|
39446
39475
|
var originalLocation = location;
|
|
39447
39476
|
var result;
|
|
@@ -39676,7 +39705,7 @@ var ts;
|
|
|
39676
39705
|
}
|
|
39677
39706
|
}
|
|
39678
39707
|
if (!result) {
|
|
39679
|
-
if (nameNotFoundMessage) {
|
|
39708
|
+
if (nameNotFoundMessage && produceDiagnostics) {
|
|
39680
39709
|
if (!errorLocation ||
|
|
39681
39710
|
!checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) &&
|
|
39682
39711
|
!checkAndReportErrorForExtendingInterface(errorLocation) &&
|
|
@@ -39686,7 +39715,7 @@ var ts;
|
|
|
39686
39715
|
!checkAndReportErrorForUsingNamespaceModuleAsValue(errorLocation, name, meaning) &&
|
|
39687
39716
|
!checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning)) {
|
|
39688
39717
|
var suggestion = void 0;
|
|
39689
|
-
if (suggestionCount < maximumSuggestionCount) {
|
|
39718
|
+
if (getSpellingSuggestions && suggestionCount < maximumSuggestionCount) {
|
|
39690
39719
|
suggestion = getSuggestedSymbolForNonexistentSymbol(originalLocation, name, meaning);
|
|
39691
39720
|
var isGlobalScopeAugmentationDeclaration = (suggestion === null || suggestion === void 0 ? void 0 : suggestion.valueDeclaration) && ts.isAmbientModule(suggestion.valueDeclaration) && ts.isGlobalScopeAugmentation(suggestion.valueDeclaration);
|
|
39692
39721
|
if (isGlobalScopeAugmentationDeclaration) {
|
|
@@ -39721,7 +39750,7 @@ var ts;
|
|
|
39721
39750
|
}
|
|
39722
39751
|
return undefined;
|
|
39723
39752
|
}
|
|
39724
|
-
if (nameNotFoundMessage) {
|
|
39753
|
+
if (nameNotFoundMessage && produceDiagnostics) {
|
|
39725
39754
|
if (propertyWithInvalidInitializer && !(ts.getEmitScriptTarget(compilerOptions) === 99 && useDefineForClassFields)) {
|
|
39726
39755
|
var propertyName = propertyWithInvalidInitializer.name;
|
|
39727
39756
|
error(errorLocation, ts.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor, ts.declarationNameToString(propertyName), diagnosticName(nameArg));
|
|
@@ -41913,7 +41942,7 @@ var ts;
|
|
|
41913
41942
|
context.approximateLength += 6;
|
|
41914
41943
|
return ts.factory.createKeywordTypeNode(147);
|
|
41915
41944
|
}
|
|
41916
|
-
if (isThisTypeParameter(type)) {
|
|
41945
|
+
if (ts.isThisTypeParameter(type)) {
|
|
41917
41946
|
if (context.flags & 4194304) {
|
|
41918
41947
|
if (!context.encounteredError && !(context.flags & 32768)) {
|
|
41919
41948
|
context.encounteredError = true;
|
|
@@ -48801,7 +48830,7 @@ var ts;
|
|
|
48801
48830
|
return symbol;
|
|
48802
48831
|
}
|
|
48803
48832
|
function getGlobalSymbol(name, meaning, diagnostic) {
|
|
48804
|
-
return resolveName(undefined, name, meaning, diagnostic, name, false);
|
|
48833
|
+
return resolveName(undefined, name, meaning, diagnostic, name, false, false, false);
|
|
48805
48834
|
}
|
|
48806
48835
|
function getGlobalType(name, arity, reportErrors) {
|
|
48807
48836
|
var symbol = getGlobalTypeSymbol(name, reportErrors);
|
|
@@ -50230,9 +50259,6 @@ var ts;
|
|
|
50230
50259
|
return (type.flags & 58982400 || isGenericMappedType(type) || isGenericTupleType(type) ? 8388608 : 0) |
|
|
50231
50260
|
(type.flags & (58982400 | 4194304 | 134217728 | 268435456) && !isPatternLiteralType(type) ? 16777216 : 0);
|
|
50232
50261
|
}
|
|
50233
|
-
function isThisTypeParameter(type) {
|
|
50234
|
-
return !!(type.flags & 262144 && type.isThisType);
|
|
50235
|
-
}
|
|
50236
50262
|
function getSimplifiedType(type, writing) {
|
|
50237
50263
|
return type.flags & 8388608 ? getSimplifiedIndexedAccessType(type, writing) :
|
|
50238
50264
|
type.flags & 16777216 ? getSimplifiedConditionalType(type, writing) :
|
|
@@ -54732,7 +54758,7 @@ var ts;
|
|
|
54732
54758
|
return result;
|
|
54733
54759
|
}
|
|
54734
54760
|
function getFalsyFlags(type) {
|
|
54735
|
-
return type.flags &
|
|
54761
|
+
return type.flags & 3145728 ? getFalsyFlagsOfTypes(type.types) :
|
|
54736
54762
|
type.flags & 128 ? type.value === "" ? 128 : 0 :
|
|
54737
54763
|
type.flags & 256 ? type.value === 0 ? 256 : 0 :
|
|
54738
54764
|
type.flags & 2048 ? isZeroBigInt(type) ? 2048 : 0 :
|
|
@@ -56120,6 +56146,10 @@ var ts;
|
|
|
56120
56146
|
case "BigInt64Array":
|
|
56121
56147
|
case "BigUint64Array":
|
|
56122
56148
|
return ts.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;
|
|
56149
|
+
case "await":
|
|
56150
|
+
if (ts.isCallExpression(node.parent)) {
|
|
56151
|
+
return ts.Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;
|
|
56152
|
+
}
|
|
56123
56153
|
default:
|
|
56124
56154
|
if (node.parent.kind === 295) {
|
|
56125
56155
|
return ts.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer;
|
|
@@ -57524,7 +57554,7 @@ var ts;
|
|
|
57524
57554
|
function narrowByInKeyword(type, name, assumeTrue) {
|
|
57525
57555
|
if (type.flags & 1048576
|
|
57526
57556
|
|| type.flags & 524288 && declaredType !== type
|
|
57527
|
-
|| isThisTypeParameter(type)
|
|
57557
|
+
|| ts.isThisTypeParameter(type)
|
|
57528
57558
|
|| type.flags & 2097152 && ts.every(type.types, function (t) { return t.symbol !== globalThisSymbol; })) {
|
|
57529
57559
|
return filterType(type, function (t) { return isTypePresencePossible(t, name, assumeTrue); });
|
|
57530
57560
|
}
|
|
@@ -59862,15 +59892,9 @@ var ts;
|
|
|
59862
59892
|
}
|
|
59863
59893
|
}
|
|
59864
59894
|
function isValidSpreadType(type) {
|
|
59865
|
-
|
|
59866
|
-
|
|
59867
|
-
|
|
59868
|
-
return isValidSpreadType(constraint);
|
|
59869
|
-
}
|
|
59870
|
-
}
|
|
59871
|
-
return !!(type.flags & (1 | 67108864 | 524288 | 58982400) ||
|
|
59872
|
-
getFalsyFlags(type) & 117632 && isValidSpreadType(removeDefinitelyFalsyTypes(type)) ||
|
|
59873
|
-
type.flags & 3145728 && ts.every(type.types, isValidSpreadType));
|
|
59895
|
+
var t = removeDefinitelyFalsyTypes(mapType(type, getBaseConstraintOrType));
|
|
59896
|
+
return !!(t.flags & (1 | 67108864 | 524288 | 58982400) ||
|
|
59897
|
+
t.flags & 3145728 && ts.every(t.types, isValidSpreadType));
|
|
59874
59898
|
}
|
|
59875
59899
|
function checkJsxSelfClosingElementDeferred(node) {
|
|
59876
59900
|
checkJsxOpeningLikeElementOrOpeningFragment(node);
|
|
@@ -60656,7 +60680,7 @@ var ts;
|
|
|
60656
60680
|
}
|
|
60657
60681
|
var propType;
|
|
60658
60682
|
if (!prop) {
|
|
60659
|
-
var indexInfo = !ts.isPrivateIdentifier(right) && (assignmentKind === 0 || !isGenericObjectType(leftType) || isThisTypeParameter(leftType)) ?
|
|
60683
|
+
var indexInfo = !ts.isPrivateIdentifier(right) && (assignmentKind === 0 || !isGenericObjectType(leftType) || ts.isThisTypeParameter(leftType)) ?
|
|
60660
60684
|
getApplicableIndexInfoForName(apparentType, right.escapedText) : undefined;
|
|
60661
60685
|
if (!(indexInfo && indexInfo.type)) {
|
|
60662
60686
|
var isUncheckedJS = isUncheckedJSSuggestion(node, leftType.symbol, true);
|
|
@@ -60673,7 +60697,7 @@ var ts;
|
|
|
60673
60697
|
return anyType;
|
|
60674
60698
|
}
|
|
60675
60699
|
if (right.escapedText && !checkAndReportErrorForExtendingInterface(node)) {
|
|
60676
|
-
reportNonexistentProperty(right, isThisTypeParameter(leftType) ? apparentType : leftType, isUncheckedJS);
|
|
60700
|
+
reportNonexistentProperty(right, ts.isThisTypeParameter(leftType) ? apparentType : leftType, isUncheckedJS);
|
|
60677
60701
|
}
|
|
60678
60702
|
return errorType;
|
|
60679
60703
|
}
|
|
@@ -60947,7 +60971,7 @@ var ts;
|
|
|
60947
60971
|
}
|
|
60948
60972
|
function getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning) {
|
|
60949
60973
|
ts.Debug.assert(outerName !== undefined, "outername should always be defined");
|
|
60950
|
-
var result = resolveNameHelper(location, outerName, meaning, undefined, outerName, false, false, function (symbols, name, meaning) {
|
|
60974
|
+
var result = resolveNameHelper(location, outerName, meaning, undefined, outerName, false, false, true, function (symbols, name, meaning) {
|
|
60951
60975
|
ts.Debug.assertEqual(outerName, name, "name should equal outerName");
|
|
60952
60976
|
var symbol = getSymbol(symbols, name, meaning);
|
|
60953
60977
|
if (symbol)
|
|
@@ -61137,7 +61161,7 @@ var ts;
|
|
|
61137
61161
|
}
|
|
61138
61162
|
var effectiveIndexType = isForInVariableForNumericPropertyNames(indexExpression) ? numberType : indexType;
|
|
61139
61163
|
var accessFlags = ts.isAssignmentTarget(node) ?
|
|
61140
|
-
4 | (isGenericObjectType(objectType) && !isThisTypeParameter(objectType) ? 2 : 0) :
|
|
61164
|
+
4 | (isGenericObjectType(objectType) && !ts.isThisTypeParameter(objectType) ? 2 : 0) :
|
|
61141
61165
|
32;
|
|
61142
61166
|
var indexedAccessType = getIndexedAccessTypeOrUndefined(objectType, effectiveIndexType, accessFlags, node) || errorType;
|
|
61143
61167
|
return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(node, getNodeLinks(node).resolvedSymbol, indexedAccessType, indexExpression, checkMode), node);
|
|
@@ -72848,11 +72872,13 @@ var ts;
|
|
|
72848
72872
|
return false;
|
|
72849
72873
|
}
|
|
72850
72874
|
function checkNumericLiteralValueSize(node) {
|
|
72851
|
-
|
|
72875
|
+
var isFractional = ts.getTextOfNode(node).indexOf(".") !== -1;
|
|
72876
|
+
var isScientific = node.numericLiteralFlags & 16;
|
|
72877
|
+
if (isFractional || isScientific) {
|
|
72852
72878
|
return;
|
|
72853
72879
|
}
|
|
72854
|
-
var
|
|
72855
|
-
if (
|
|
72880
|
+
var value = +node.text;
|
|
72881
|
+
if (value <= Math.pow(2, 53) - 1) {
|
|
72856
72882
|
return;
|
|
72857
72883
|
}
|
|
72858
72884
|
addErrorOrSuggestion(false, ts.createDiagnosticForNode(node, ts.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers));
|
|
@@ -75546,7 +75572,7 @@ var ts;
|
|
|
75546
75572
|
return undefined;
|
|
75547
75573
|
}
|
|
75548
75574
|
var prefix = getClassMemberPrefix(node, member);
|
|
75549
|
-
var memberName = getExpressionForPropertyName(member,
|
|
75575
|
+
var memberName = getExpressionForPropertyName(member, !ts.hasSyntacticModifier(member, 2));
|
|
75550
75576
|
var descriptor = languageVersion > 0
|
|
75551
75577
|
? member.kind === 166
|
|
75552
75578
|
? factory.createVoidZero()
|
|
@@ -101625,7 +101651,9 @@ var ts;
|
|
|
101625
101651
|
var colors = createColors(sys);
|
|
101626
101652
|
var name = getDisplayNameTextOfOption(option);
|
|
101627
101653
|
var valueCandidates = getValueCandidate(option);
|
|
101628
|
-
var defaultValueDescription = typeof option.defaultValueDescription === "object"
|
|
101654
|
+
var defaultValueDescription = typeof option.defaultValueDescription === "object"
|
|
101655
|
+
? ts.getDiagnosticText(option.defaultValueDescription)
|
|
101656
|
+
: formatDefaultValue(option.defaultValueDescription, option.type === "list" ? option.element.type : option.type);
|
|
101629
101657
|
var terminalWidth = (_b = (_a = sys.getWidthOfTerminal) === null || _a === void 0 ? void 0 : _a.call(sys)) !== null && _b !== void 0 ? _b : 0;
|
|
101630
101658
|
if (terminalWidth >= 80) {
|
|
101631
101659
|
var description = "";
|
|
@@ -101665,6 +101693,20 @@ var ts;
|
|
|
101665
101693
|
text.push(sys.newLine);
|
|
101666
101694
|
}
|
|
101667
101695
|
return text;
|
|
101696
|
+
function formatDefaultValue(defaultValue, type) {
|
|
101697
|
+
return defaultValue !== undefined && typeof type === "object"
|
|
101698
|
+
? ts.arrayFrom(type.entries())
|
|
101699
|
+
.filter(function (_a) {
|
|
101700
|
+
var value = _a[1];
|
|
101701
|
+
return value === defaultValue;
|
|
101702
|
+
})
|
|
101703
|
+
.map(function (_a) {
|
|
101704
|
+
var name = _a[0];
|
|
101705
|
+
return name;
|
|
101706
|
+
})
|
|
101707
|
+
.join("/")
|
|
101708
|
+
: String(defaultValue);
|
|
101709
|
+
}
|
|
101668
101710
|
function showAdditionalInfoOutput(valueCandidates, option) {
|
|
101669
101711
|
var ignoreValues = ["string"];
|
|
101670
101712
|
var ignoredDescriptions = [undefined, "false", "n/a"];
|
|
@@ -101733,8 +101775,16 @@ var ts;
|
|
|
101733
101775
|
possibleValues = "";
|
|
101734
101776
|
break;
|
|
101735
101777
|
default:
|
|
101736
|
-
var
|
|
101737
|
-
|
|
101778
|
+
var inverted_1 = {};
|
|
101779
|
+
option.type.forEach(function (value, name) {
|
|
101780
|
+
(inverted_1[value] || (inverted_1[value] = [])).push(name);
|
|
101781
|
+
});
|
|
101782
|
+
return ts.getEntries(inverted_1)
|
|
101783
|
+
.map(function (_a) {
|
|
101784
|
+
var synonyms = _a[1];
|
|
101785
|
+
return synonyms.join("/");
|
|
101786
|
+
})
|
|
101787
|
+
.join(", ");
|
|
101738
101788
|
}
|
|
101739
101789
|
return possibleValues;
|
|
101740
101790
|
}
|