typescript 4.6.0-dev.20211126 → 4.6.0-dev.20211203
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 +184 -107
- package/lib/tsserver.js +267 -185
- package/lib/tsserverlibrary.js +267 -185
- package/lib/typescript.js +267 -185
- package/lib/typescriptServices.js +267 -185
- package/lib/typingsInstaller.js +175 -112
- 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.20211203";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
function tryGetNativeMap() {
|
|
@@ -27071,7 +27071,7 @@ var ts;
|
|
|
27071
27071
|
if (type && !allowAmbiguity && typeHasArrowFunctionBlockingParseError(type)) {
|
|
27072
27072
|
return undefined;
|
|
27073
27073
|
}
|
|
27074
|
-
var hasJSDocFunctionType = type && ts.isJSDocFunctionType(type);
|
|
27074
|
+
var hasJSDocFunctionType = type && (ts.isJSDocFunctionType(type) || ts.isParenthesizedTypeNode(type) && ts.isJSDocFunctionType(type.type));
|
|
27075
27075
|
if (!allowAmbiguity && token() !== 38 && (hasJSDocFunctionType || token() !== 18)) {
|
|
27076
27076
|
return undefined;
|
|
27077
27077
|
}
|
|
@@ -30696,7 +30696,11 @@ var ts;
|
|
|
30696
30696
|
})(ts || (ts = {}));
|
|
30697
30697
|
var ts;
|
|
30698
30698
|
(function (ts) {
|
|
30699
|
-
ts.compileOnSaveCommandLineOption = {
|
|
30699
|
+
ts.compileOnSaveCommandLineOption = {
|
|
30700
|
+
name: "compileOnSave",
|
|
30701
|
+
type: "boolean",
|
|
30702
|
+
defaultValueDescription: false,
|
|
30703
|
+
};
|
|
30700
30704
|
var jsxOptionMap = new ts.Map(ts.getEntries({
|
|
30701
30705
|
"preserve": 1,
|
|
30702
30706
|
"react-native": 3,
|
|
@@ -30789,6 +30793,7 @@ var ts;
|
|
|
30789
30793
|
})),
|
|
30790
30794
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30791
30795
|
description: ts.Diagnostics.Specify_how_the_TypeScript_watch_mode_works,
|
|
30796
|
+
defaultValueDescription: ts.WatchFileKind.UseFsEvents,
|
|
30792
30797
|
},
|
|
30793
30798
|
{
|
|
30794
30799
|
name: "watchDirectory",
|
|
@@ -30800,6 +30805,7 @@ var ts;
|
|
|
30800
30805
|
})),
|
|
30801
30806
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30802
30807
|
description: ts.Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,
|
|
30808
|
+
defaultValueDescription: ts.WatchDirectoryKind.UseFsEvents,
|
|
30803
30809
|
},
|
|
30804
30810
|
{
|
|
30805
30811
|
name: "fallbackPolling",
|
|
@@ -30811,13 +30817,14 @@ var ts;
|
|
|
30811
30817
|
})),
|
|
30812
30818
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30813
30819
|
description: ts.Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,
|
|
30820
|
+
defaultValueDescription: ts.PollingWatchKind.PriorityInterval,
|
|
30814
30821
|
},
|
|
30815
30822
|
{
|
|
30816
30823
|
name: "synchronousWatchDirectory",
|
|
30817
30824
|
type: "boolean",
|
|
30818
30825
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30819
30826
|
description: ts.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,
|
|
30820
|
-
defaultValueDescription:
|
|
30827
|
+
defaultValueDescription: false,
|
|
30821
30828
|
},
|
|
30822
30829
|
{
|
|
30823
30830
|
name: "excludeDirectories",
|
|
@@ -30852,13 +30859,13 @@ var ts;
|
|
|
30852
30859
|
showInSimplifiedHelpView: true,
|
|
30853
30860
|
category: ts.Diagnostics.Command_line_Options,
|
|
30854
30861
|
description: ts.Diagnostics.Print_this_message,
|
|
30855
|
-
defaultValueDescription:
|
|
30862
|
+
defaultValueDescription: false,
|
|
30856
30863
|
},
|
|
30857
30864
|
{
|
|
30858
30865
|
name: "help",
|
|
30859
30866
|
shortName: "?",
|
|
30860
30867
|
type: "boolean",
|
|
30861
|
-
defaultValueDescription:
|
|
30868
|
+
defaultValueDescription: false,
|
|
30862
30869
|
},
|
|
30863
30870
|
{
|
|
30864
30871
|
name: "watch",
|
|
@@ -30868,7 +30875,7 @@ var ts;
|
|
|
30868
30875
|
isCommandLineOnly: true,
|
|
30869
30876
|
category: ts.Diagnostics.Command_line_Options,
|
|
30870
30877
|
description: ts.Diagnostics.Watch_input_files,
|
|
30871
|
-
defaultValueDescription:
|
|
30878
|
+
defaultValueDescription: false,
|
|
30872
30879
|
},
|
|
30873
30880
|
{
|
|
30874
30881
|
name: "preserveWatchOutput",
|
|
@@ -30876,28 +30883,28 @@ var ts;
|
|
|
30876
30883
|
showInSimplifiedHelpView: false,
|
|
30877
30884
|
category: ts.Diagnostics.Output_Formatting,
|
|
30878
30885
|
description: ts.Diagnostics.Disable_wiping_the_console_in_watch_mode,
|
|
30879
|
-
defaultValueDescription:
|
|
30886
|
+
defaultValueDescription: false,
|
|
30880
30887
|
},
|
|
30881
30888
|
{
|
|
30882
30889
|
name: "listFiles",
|
|
30883
30890
|
type: "boolean",
|
|
30884
30891
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30885
30892
|
description: ts.Diagnostics.Print_all_of_the_files_read_during_the_compilation,
|
|
30886
|
-
defaultValueDescription:
|
|
30893
|
+
defaultValueDescription: false,
|
|
30887
30894
|
},
|
|
30888
30895
|
{
|
|
30889
30896
|
name: "explainFiles",
|
|
30890
30897
|
type: "boolean",
|
|
30891
30898
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30892
30899
|
description: ts.Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included,
|
|
30893
|
-
defaultValueDescription:
|
|
30900
|
+
defaultValueDescription: false,
|
|
30894
30901
|
},
|
|
30895
30902
|
{
|
|
30896
30903
|
name: "listEmittedFiles",
|
|
30897
30904
|
type: "boolean",
|
|
30898
30905
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30899
30906
|
description: ts.Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,
|
|
30900
|
-
defaultValueDescription:
|
|
30907
|
+
defaultValueDescription: false,
|
|
30901
30908
|
},
|
|
30902
30909
|
{
|
|
30903
30910
|
name: "pretty",
|
|
@@ -30905,28 +30912,28 @@ var ts;
|
|
|
30905
30912
|
showInSimplifiedHelpView: true,
|
|
30906
30913
|
category: ts.Diagnostics.Output_Formatting,
|
|
30907
30914
|
description: ts.Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,
|
|
30908
|
-
defaultValueDescription:
|
|
30915
|
+
defaultValueDescription: true,
|
|
30909
30916
|
},
|
|
30910
30917
|
{
|
|
30911
30918
|
name: "traceResolution",
|
|
30912
30919
|
type: "boolean",
|
|
30913
30920
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30914
30921
|
description: ts.Diagnostics.Log_paths_used_during_the_moduleResolution_process,
|
|
30915
|
-
defaultValueDescription:
|
|
30922
|
+
defaultValueDescription: false,
|
|
30916
30923
|
},
|
|
30917
30924
|
{
|
|
30918
30925
|
name: "diagnostics",
|
|
30919
30926
|
type: "boolean",
|
|
30920
30927
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30921
30928
|
description: ts.Diagnostics.Output_compiler_performance_information_after_building,
|
|
30922
|
-
defaultValueDescription:
|
|
30929
|
+
defaultValueDescription: false,
|
|
30923
30930
|
},
|
|
30924
30931
|
{
|
|
30925
30932
|
name: "extendedDiagnostics",
|
|
30926
30933
|
type: "boolean",
|
|
30927
30934
|
category: ts.Diagnostics.Compiler_Diagnostics,
|
|
30928
30935
|
description: ts.Diagnostics.Output_more_detailed_compiler_performance_information_after_building,
|
|
30929
|
-
defaultValueDescription:
|
|
30936
|
+
defaultValueDescription: false,
|
|
30930
30937
|
},
|
|
30931
30938
|
{
|
|
30932
30939
|
name: "generateCpuProfile",
|
|
@@ -30962,7 +30969,7 @@ var ts;
|
|
|
30962
30969
|
affectsEmit: true,
|
|
30963
30970
|
category: ts.Diagnostics.Watch_and_Build_Modes,
|
|
30964
30971
|
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:
|
|
30972
|
+
defaultValueDescription: false,
|
|
30966
30973
|
},
|
|
30967
30974
|
{
|
|
30968
30975
|
name: "locale",
|
|
@@ -30997,7 +31004,7 @@ var ts;
|
|
|
30997
31004
|
showInSimplifiedHelpView: true,
|
|
30998
31005
|
category: ts.Diagnostics.Language_and_Environment,
|
|
30999
31006
|
description: ts.Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,
|
|
31000
|
-
defaultValueDescription:
|
|
31007
|
+
defaultValueDescription: 0,
|
|
31001
31008
|
};
|
|
31002
31009
|
var commandOptionsWithoutBuild = [
|
|
31003
31010
|
{
|
|
@@ -31006,7 +31013,7 @@ var ts;
|
|
|
31006
31013
|
showInSimplifiedHelpView: true,
|
|
31007
31014
|
category: ts.Diagnostics.Command_line_Options,
|
|
31008
31015
|
description: ts.Diagnostics.Show_all_compiler_options,
|
|
31009
|
-
defaultValueDescription:
|
|
31016
|
+
defaultValueDescription: false,
|
|
31010
31017
|
},
|
|
31011
31018
|
{
|
|
31012
31019
|
name: "version",
|
|
@@ -31015,7 +31022,7 @@ var ts;
|
|
|
31015
31022
|
showInSimplifiedHelpView: true,
|
|
31016
31023
|
category: ts.Diagnostics.Command_line_Options,
|
|
31017
31024
|
description: ts.Diagnostics.Print_the_compiler_s_version,
|
|
31018
|
-
defaultValueDescription:
|
|
31025
|
+
defaultValueDescription: false,
|
|
31019
31026
|
},
|
|
31020
31027
|
{
|
|
31021
31028
|
name: "init",
|
|
@@ -31023,7 +31030,7 @@ var ts;
|
|
|
31023
31030
|
showInSimplifiedHelpView: true,
|
|
31024
31031
|
category: ts.Diagnostics.Command_line_Options,
|
|
31025
31032
|
description: ts.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,
|
|
31026
|
-
defaultValueDescription:
|
|
31033
|
+
defaultValueDescription: false,
|
|
31027
31034
|
},
|
|
31028
31035
|
{
|
|
31029
31036
|
name: "project",
|
|
@@ -31042,7 +31049,7 @@ var ts;
|
|
|
31042
31049
|
showInSimplifiedHelpView: true,
|
|
31043
31050
|
category: ts.Diagnostics.Command_line_Options,
|
|
31044
31051
|
description: ts.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,
|
|
31045
|
-
defaultValueDescription:
|
|
31052
|
+
defaultValueDescription: false,
|
|
31046
31053
|
},
|
|
31047
31054
|
{
|
|
31048
31055
|
name: "showConfig",
|
|
@@ -31051,7 +31058,7 @@ var ts;
|
|
|
31051
31058
|
category: ts.Diagnostics.Command_line_Options,
|
|
31052
31059
|
isCommandLineOnly: true,
|
|
31053
31060
|
description: ts.Diagnostics.Print_the_final_configuration_instead_of_building,
|
|
31054
|
-
defaultValueDescription:
|
|
31061
|
+
defaultValueDescription: false,
|
|
31055
31062
|
},
|
|
31056
31063
|
{
|
|
31057
31064
|
name: "listFilesOnly",
|
|
@@ -31061,7 +31068,7 @@ var ts;
|
|
|
31061
31068
|
affectsEmit: true,
|
|
31062
31069
|
isCommandLineOnly: true,
|
|
31063
31070
|
description: ts.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,
|
|
31064
|
-
defaultValueDescription:
|
|
31071
|
+
defaultValueDescription: false,
|
|
31065
31072
|
},
|
|
31066
31073
|
ts.targetOptionDeclaration,
|
|
31067
31074
|
{
|
|
@@ -31087,13 +31094,15 @@ var ts;
|
|
|
31087
31094
|
showInSimplifiedHelpView: true,
|
|
31088
31095
|
category: ts.Diagnostics.Modules,
|
|
31089
31096
|
description: ts.Diagnostics.Specify_what_module_code_is_generated,
|
|
31097
|
+
defaultValueDescription: undefined,
|
|
31090
31098
|
},
|
|
31091
31099
|
{
|
|
31092
31100
|
name: "lib",
|
|
31093
31101
|
type: "list",
|
|
31094
31102
|
element: {
|
|
31095
31103
|
name: "lib",
|
|
31096
|
-
type: ts.libMap
|
|
31104
|
+
type: ts.libMap,
|
|
31105
|
+
defaultValueDescription: undefined,
|
|
31097
31106
|
},
|
|
31098
31107
|
affectsProgramStructure: true,
|
|
31099
31108
|
showInSimplifiedHelpView: true,
|
|
@@ -31108,7 +31117,7 @@ var ts;
|
|
|
31108
31117
|
showInSimplifiedHelpView: true,
|
|
31109
31118
|
category: ts.Diagnostics.JavaScript_Support,
|
|
31110
31119
|
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:
|
|
31120
|
+
defaultValueDescription: false,
|
|
31112
31121
|
},
|
|
31113
31122
|
{
|
|
31114
31123
|
name: "checkJs",
|
|
@@ -31116,7 +31125,7 @@ var ts;
|
|
|
31116
31125
|
showInSimplifiedHelpView: true,
|
|
31117
31126
|
category: ts.Diagnostics.JavaScript_Support,
|
|
31118
31127
|
description: ts.Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,
|
|
31119
|
-
defaultValueDescription:
|
|
31128
|
+
defaultValueDescription: false,
|
|
31120
31129
|
},
|
|
31121
31130
|
{
|
|
31122
31131
|
name: "jsx",
|
|
@@ -31128,7 +31137,7 @@ var ts;
|
|
|
31128
31137
|
showInSimplifiedHelpView: true,
|
|
31129
31138
|
category: ts.Diagnostics.Language_and_Environment,
|
|
31130
31139
|
description: ts.Diagnostics.Specify_what_JSX_code_is_generated,
|
|
31131
|
-
defaultValueDescription:
|
|
31140
|
+
defaultValueDescription: undefined,
|
|
31132
31141
|
},
|
|
31133
31142
|
{
|
|
31134
31143
|
name: "declaration",
|
|
@@ -31148,7 +31157,7 @@ var ts;
|
|
|
31148
31157
|
showInSimplifiedHelpView: true,
|
|
31149
31158
|
category: ts.Diagnostics.Emit,
|
|
31150
31159
|
transpileOptionValue: undefined,
|
|
31151
|
-
defaultValueDescription:
|
|
31160
|
+
defaultValueDescription: false,
|
|
31152
31161
|
description: ts.Diagnostics.Create_sourcemaps_for_d_ts_files
|
|
31153
31162
|
},
|
|
31154
31163
|
{
|
|
@@ -31159,7 +31168,7 @@ var ts;
|
|
|
31159
31168
|
category: ts.Diagnostics.Emit,
|
|
31160
31169
|
description: ts.Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,
|
|
31161
31170
|
transpileOptionValue: undefined,
|
|
31162
|
-
defaultValueDescription:
|
|
31171
|
+
defaultValueDescription: false,
|
|
31163
31172
|
},
|
|
31164
31173
|
{
|
|
31165
31174
|
name: "sourceMap",
|
|
@@ -31167,7 +31176,7 @@ var ts;
|
|
|
31167
31176
|
affectsEmit: true,
|
|
31168
31177
|
showInSimplifiedHelpView: true,
|
|
31169
31178
|
category: ts.Diagnostics.Emit,
|
|
31170
|
-
defaultValueDescription:
|
|
31179
|
+
defaultValueDescription: false,
|
|
31171
31180
|
description: ts.Diagnostics.Create_source_map_files_for_emitted_JavaScript_files,
|
|
31172
31181
|
},
|
|
31173
31182
|
{
|
|
@@ -31208,7 +31217,7 @@ var ts;
|
|
|
31208
31217
|
isTSConfigOnly: true,
|
|
31209
31218
|
category: ts.Diagnostics.Projects,
|
|
31210
31219
|
transpileOptionValue: undefined,
|
|
31211
|
-
defaultValueDescription:
|
|
31220
|
+
defaultValueDescription: false,
|
|
31212
31221
|
description: ts.Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references,
|
|
31213
31222
|
},
|
|
31214
31223
|
{
|
|
@@ -31228,7 +31237,7 @@ var ts;
|
|
|
31228
31237
|
affectsEmit: true,
|
|
31229
31238
|
showInSimplifiedHelpView: true,
|
|
31230
31239
|
category: ts.Diagnostics.Emit,
|
|
31231
|
-
defaultValueDescription:
|
|
31240
|
+
defaultValueDescription: false,
|
|
31232
31241
|
description: ts.Diagnostics.Disable_emitting_comments,
|
|
31233
31242
|
},
|
|
31234
31243
|
{
|
|
@@ -31238,7 +31247,7 @@ var ts;
|
|
|
31238
31247
|
category: ts.Diagnostics.Emit,
|
|
31239
31248
|
description: ts.Diagnostics.Disable_emitting_files_from_a_compilation,
|
|
31240
31249
|
transpileOptionValue: undefined,
|
|
31241
|
-
defaultValueDescription:
|
|
31250
|
+
defaultValueDescription: false,
|
|
31242
31251
|
},
|
|
31243
31252
|
{
|
|
31244
31253
|
name: "importHelpers",
|
|
@@ -31246,7 +31255,7 @@ var ts;
|
|
|
31246
31255
|
affectsEmit: true,
|
|
31247
31256
|
category: ts.Diagnostics.Emit,
|
|
31248
31257
|
description: ts.Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,
|
|
31249
|
-
defaultValueDescription:
|
|
31258
|
+
defaultValueDescription: false,
|
|
31250
31259
|
},
|
|
31251
31260
|
{
|
|
31252
31261
|
name: "importsNotUsedAsValues",
|
|
@@ -31258,7 +31267,8 @@ var ts;
|
|
|
31258
31267
|
affectsEmit: true,
|
|
31259
31268
|
affectsSemanticDiagnostics: true,
|
|
31260
31269
|
category: ts.Diagnostics.Emit,
|
|
31261
|
-
description: ts.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types
|
|
31270
|
+
description: ts.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,
|
|
31271
|
+
defaultValueDescription: 0,
|
|
31262
31272
|
},
|
|
31263
31273
|
{
|
|
31264
31274
|
name: "downlevelIteration",
|
|
@@ -31266,7 +31276,7 @@ var ts;
|
|
|
31266
31276
|
affectsEmit: true,
|
|
31267
31277
|
category: ts.Diagnostics.Emit,
|
|
31268
31278
|
description: ts.Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,
|
|
31269
|
-
defaultValueDescription:
|
|
31279
|
+
defaultValueDescription: false,
|
|
31270
31280
|
},
|
|
31271
31281
|
{
|
|
31272
31282
|
name: "isolatedModules",
|
|
@@ -31274,7 +31284,7 @@ var ts;
|
|
|
31274
31284
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31275
31285
|
description: ts.Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,
|
|
31276
31286
|
transpileOptionValue: true,
|
|
31277
|
-
defaultValueDescription:
|
|
31287
|
+
defaultValueDescription: false,
|
|
31278
31288
|
},
|
|
31279
31289
|
{
|
|
31280
31290
|
name: "strict",
|
|
@@ -31282,7 +31292,7 @@ var ts;
|
|
|
31282
31292
|
showInSimplifiedHelpView: true,
|
|
31283
31293
|
category: ts.Diagnostics.Type_Checking,
|
|
31284
31294
|
description: ts.Diagnostics.Enable_all_strict_type_checking_options,
|
|
31285
|
-
defaultValueDescription:
|
|
31295
|
+
defaultValueDescription: false,
|
|
31286
31296
|
},
|
|
31287
31297
|
{
|
|
31288
31298
|
name: "noImplicitAny",
|
|
@@ -31343,7 +31353,7 @@ var ts;
|
|
|
31343
31353
|
strictFlag: true,
|
|
31344
31354
|
category: ts.Diagnostics.Type_Checking,
|
|
31345
31355
|
description: ts.Diagnostics.Type_catch_clause_variables_as_unknown_instead_of_any,
|
|
31346
|
-
defaultValueDescription:
|
|
31356
|
+
defaultValueDescription: false,
|
|
31347
31357
|
},
|
|
31348
31358
|
{
|
|
31349
31359
|
name: "alwaysStrict",
|
|
@@ -31360,7 +31370,7 @@ var ts;
|
|
|
31360
31370
|
affectsSemanticDiagnostics: true,
|
|
31361
31371
|
category: ts.Diagnostics.Type_Checking,
|
|
31362
31372
|
description: ts.Diagnostics.Enable_error_reporting_when_a_local_variables_aren_t_read,
|
|
31363
|
-
defaultValueDescription:
|
|
31373
|
+
defaultValueDescription: false,
|
|
31364
31374
|
},
|
|
31365
31375
|
{
|
|
31366
31376
|
name: "noUnusedParameters",
|
|
@@ -31368,7 +31378,7 @@ var ts;
|
|
|
31368
31378
|
affectsSemanticDiagnostics: true,
|
|
31369
31379
|
category: ts.Diagnostics.Type_Checking,
|
|
31370
31380
|
description: ts.Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,
|
|
31371
|
-
defaultValueDescription:
|
|
31381
|
+
defaultValueDescription: false,
|
|
31372
31382
|
},
|
|
31373
31383
|
{
|
|
31374
31384
|
name: "exactOptionalPropertyTypes",
|
|
@@ -31376,7 +31386,7 @@ var ts;
|
|
|
31376
31386
|
affectsSemanticDiagnostics: true,
|
|
31377
31387
|
category: ts.Diagnostics.Type_Checking,
|
|
31378
31388
|
description: ts.Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,
|
|
31379
|
-
defaultValueDescription:
|
|
31389
|
+
defaultValueDescription: false,
|
|
31380
31390
|
},
|
|
31381
31391
|
{
|
|
31382
31392
|
name: "noImplicitReturns",
|
|
@@ -31384,7 +31394,7 @@ var ts;
|
|
|
31384
31394
|
affectsSemanticDiagnostics: true,
|
|
31385
31395
|
category: ts.Diagnostics.Type_Checking,
|
|
31386
31396
|
description: ts.Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,
|
|
31387
|
-
defaultValueDescription:
|
|
31397
|
+
defaultValueDescription: false,
|
|
31388
31398
|
},
|
|
31389
31399
|
{
|
|
31390
31400
|
name: "noFallthroughCasesInSwitch",
|
|
@@ -31393,7 +31403,7 @@ var ts;
|
|
|
31393
31403
|
affectsSemanticDiagnostics: true,
|
|
31394
31404
|
category: ts.Diagnostics.Type_Checking,
|
|
31395
31405
|
description: ts.Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,
|
|
31396
|
-
defaultValueDescription:
|
|
31406
|
+
defaultValueDescription: false,
|
|
31397
31407
|
},
|
|
31398
31408
|
{
|
|
31399
31409
|
name: "noUncheckedIndexedAccess",
|
|
@@ -31401,7 +31411,7 @@ var ts;
|
|
|
31401
31411
|
affectsSemanticDiagnostics: true,
|
|
31402
31412
|
category: ts.Diagnostics.Type_Checking,
|
|
31403
31413
|
description: ts.Diagnostics.Include_undefined_in_index_signature_results,
|
|
31404
|
-
defaultValueDescription:
|
|
31414
|
+
defaultValueDescription: false,
|
|
31405
31415
|
},
|
|
31406
31416
|
{
|
|
31407
31417
|
name: "noImplicitOverride",
|
|
@@ -31409,7 +31419,7 @@ var ts;
|
|
|
31409
31419
|
affectsSemanticDiagnostics: true,
|
|
31410
31420
|
category: ts.Diagnostics.Type_Checking,
|
|
31411
31421
|
description: ts.Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,
|
|
31412
|
-
defaultValueDescription:
|
|
31422
|
+
defaultValueDescription: false,
|
|
31413
31423
|
},
|
|
31414
31424
|
{
|
|
31415
31425
|
name: "noPropertyAccessFromIndexSignature",
|
|
@@ -31417,7 +31427,7 @@ var ts;
|
|
|
31417
31427
|
showInSimplifiedHelpView: false,
|
|
31418
31428
|
category: ts.Diagnostics.Type_Checking,
|
|
31419
31429
|
description: ts.Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,
|
|
31420
|
-
defaultValueDescription:
|
|
31430
|
+
defaultValueDescription: false,
|
|
31421
31431
|
},
|
|
31422
31432
|
{
|
|
31423
31433
|
name: "moduleResolution",
|
|
@@ -31506,14 +31516,14 @@ var ts;
|
|
|
31506
31516
|
showInSimplifiedHelpView: true,
|
|
31507
31517
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31508
31518
|
description: ts.Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,
|
|
31509
|
-
defaultValueDescription:
|
|
31519
|
+
defaultValueDescription: false,
|
|
31510
31520
|
},
|
|
31511
31521
|
{
|
|
31512
31522
|
name: "preserveSymlinks",
|
|
31513
31523
|
type: "boolean",
|
|
31514
31524
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31515
31525
|
description: ts.Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,
|
|
31516
|
-
defaultValueDescription:
|
|
31526
|
+
defaultValueDescription: false,
|
|
31517
31527
|
},
|
|
31518
31528
|
{
|
|
31519
31529
|
name: "allowUmdGlobalAccess",
|
|
@@ -31521,7 +31531,7 @@ var ts;
|
|
|
31521
31531
|
affectsSemanticDiagnostics: true,
|
|
31522
31532
|
category: ts.Diagnostics.Modules,
|
|
31523
31533
|
description: ts.Diagnostics.Allow_accessing_UMD_globals_from_modules,
|
|
31524
|
-
defaultValueDescription:
|
|
31534
|
+
defaultValueDescription: false,
|
|
31525
31535
|
},
|
|
31526
31536
|
{
|
|
31527
31537
|
name: "sourceRoot",
|
|
@@ -31545,7 +31555,7 @@ var ts;
|
|
|
31545
31555
|
affectsEmit: true,
|
|
31546
31556
|
category: ts.Diagnostics.Emit,
|
|
31547
31557
|
description: ts.Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,
|
|
31548
|
-
defaultValueDescription:
|
|
31558
|
+
defaultValueDescription: false,
|
|
31549
31559
|
},
|
|
31550
31560
|
{
|
|
31551
31561
|
name: "inlineSources",
|
|
@@ -31553,7 +31563,7 @@ var ts;
|
|
|
31553
31563
|
affectsEmit: true,
|
|
31554
31564
|
category: ts.Diagnostics.Emit,
|
|
31555
31565
|
description: ts.Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,
|
|
31556
|
-
defaultValueDescription:
|
|
31566
|
+
defaultValueDescription: false,
|
|
31557
31567
|
},
|
|
31558
31568
|
{
|
|
31559
31569
|
name: "experimentalDecorators",
|
|
@@ -31561,7 +31571,7 @@ var ts;
|
|
|
31561
31571
|
affectsSemanticDiagnostics: true,
|
|
31562
31572
|
category: ts.Diagnostics.Language_and_Environment,
|
|
31563
31573
|
description: ts.Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators,
|
|
31564
|
-
defaultValueDescription:
|
|
31574
|
+
defaultValueDescription: false,
|
|
31565
31575
|
},
|
|
31566
31576
|
{
|
|
31567
31577
|
name: "emitDecoratorMetadata",
|
|
@@ -31570,7 +31580,7 @@ var ts;
|
|
|
31570
31580
|
affectsEmit: true,
|
|
31571
31581
|
category: ts.Diagnostics.Language_and_Environment,
|
|
31572
31582
|
description: ts.Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,
|
|
31573
|
-
defaultValueDescription:
|
|
31583
|
+
defaultValueDescription: false,
|
|
31574
31584
|
},
|
|
31575
31585
|
{
|
|
31576
31586
|
name: "jsxFactory",
|
|
@@ -31601,7 +31611,7 @@ var ts;
|
|
|
31601
31611
|
affectsModuleResolution: true,
|
|
31602
31612
|
category: ts.Diagnostics.Modules,
|
|
31603
31613
|
description: ts.Diagnostics.Enable_importing_json_files,
|
|
31604
|
-
defaultValueDescription:
|
|
31614
|
+
defaultValueDescription: false,
|
|
31605
31615
|
},
|
|
31606
31616
|
{
|
|
31607
31617
|
name: "out",
|
|
@@ -31626,7 +31636,7 @@ var ts;
|
|
|
31626
31636
|
type: "boolean",
|
|
31627
31637
|
category: ts.Diagnostics.Completeness,
|
|
31628
31638
|
description: ts.Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,
|
|
31629
|
-
defaultValueDescription:
|
|
31639
|
+
defaultValueDescription: false,
|
|
31630
31640
|
},
|
|
31631
31641
|
{
|
|
31632
31642
|
name: "charset",
|
|
@@ -31641,7 +31651,7 @@ var ts;
|
|
|
31641
31651
|
affectsEmit: true,
|
|
31642
31652
|
category: ts.Diagnostics.Emit,
|
|
31643
31653
|
description: ts.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,
|
|
31644
|
-
defaultValueDescription:
|
|
31654
|
+
defaultValueDescription: false,
|
|
31645
31655
|
},
|
|
31646
31656
|
{
|
|
31647
31657
|
name: "newLine",
|
|
@@ -31661,7 +31671,7 @@ var ts;
|
|
|
31661
31671
|
affectsSemanticDiagnostics: true,
|
|
31662
31672
|
category: ts.Diagnostics.Output_Formatting,
|
|
31663
31673
|
description: ts.Diagnostics.Disable_truncating_types_in_error_messages,
|
|
31664
|
-
defaultValueDescription:
|
|
31674
|
+
defaultValueDescription: false,
|
|
31665
31675
|
},
|
|
31666
31676
|
{
|
|
31667
31677
|
name: "noLib",
|
|
@@ -31670,7 +31680,7 @@ var ts;
|
|
|
31670
31680
|
affectsProgramStructure: true,
|
|
31671
31681
|
description: ts.Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,
|
|
31672
31682
|
transpileOptionValue: true,
|
|
31673
|
-
defaultValueDescription:
|
|
31683
|
+
defaultValueDescription: false,
|
|
31674
31684
|
},
|
|
31675
31685
|
{
|
|
31676
31686
|
name: "noResolve",
|
|
@@ -31679,7 +31689,7 @@ var ts;
|
|
|
31679
31689
|
category: ts.Diagnostics.Modules,
|
|
31680
31690
|
description: ts.Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,
|
|
31681
31691
|
transpileOptionValue: true,
|
|
31682
|
-
defaultValueDescription:
|
|
31692
|
+
defaultValueDescription: false,
|
|
31683
31693
|
},
|
|
31684
31694
|
{
|
|
31685
31695
|
name: "stripInternal",
|
|
@@ -31687,7 +31697,7 @@ var ts;
|
|
|
31687
31697
|
affectsEmit: true,
|
|
31688
31698
|
category: ts.Diagnostics.Emit,
|
|
31689
31699
|
description: ts.Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,
|
|
31690
|
-
defaultValueDescription:
|
|
31700
|
+
defaultValueDescription: false,
|
|
31691
31701
|
},
|
|
31692
31702
|
{
|
|
31693
31703
|
name: "disableSizeLimit",
|
|
@@ -31695,7 +31705,7 @@ var ts;
|
|
|
31695
31705
|
affectsProgramStructure: true,
|
|
31696
31706
|
category: ts.Diagnostics.Editor_Support,
|
|
31697
31707
|
description: ts.Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,
|
|
31698
|
-
defaultValueDescription:
|
|
31708
|
+
defaultValueDescription: false,
|
|
31699
31709
|
},
|
|
31700
31710
|
{
|
|
31701
31711
|
name: "disableSourceOfProjectReferenceRedirect",
|
|
@@ -31703,7 +31713,7 @@ var ts;
|
|
|
31703
31713
|
isTSConfigOnly: true,
|
|
31704
31714
|
category: ts.Diagnostics.Projects,
|
|
31705
31715
|
description: ts.Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,
|
|
31706
|
-
defaultValueDescription:
|
|
31716
|
+
defaultValueDescription: false,
|
|
31707
31717
|
},
|
|
31708
31718
|
{
|
|
31709
31719
|
name: "disableSolutionSearching",
|
|
@@ -31711,7 +31721,7 @@ var ts;
|
|
|
31711
31721
|
isTSConfigOnly: true,
|
|
31712
31722
|
category: ts.Diagnostics.Projects,
|
|
31713
31723
|
description: ts.Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing,
|
|
31714
|
-
defaultValueDescription:
|
|
31724
|
+
defaultValueDescription: false,
|
|
31715
31725
|
},
|
|
31716
31726
|
{
|
|
31717
31727
|
name: "disableReferencedProjectLoad",
|
|
@@ -31719,7 +31729,7 @@ var ts;
|
|
|
31719
31729
|
isTSConfigOnly: true,
|
|
31720
31730
|
category: ts.Diagnostics.Projects,
|
|
31721
31731
|
description: ts.Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,
|
|
31722
|
-
defaultValueDescription:
|
|
31732
|
+
defaultValueDescription: false,
|
|
31723
31733
|
},
|
|
31724
31734
|
{
|
|
31725
31735
|
name: "noImplicitUseStrict",
|
|
@@ -31727,7 +31737,7 @@ var ts;
|
|
|
31727
31737
|
affectsSemanticDiagnostics: true,
|
|
31728
31738
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31729
31739
|
description: ts.Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,
|
|
31730
|
-
defaultValueDescription:
|
|
31740
|
+
defaultValueDescription: false,
|
|
31731
31741
|
},
|
|
31732
31742
|
{
|
|
31733
31743
|
name: "noEmitHelpers",
|
|
@@ -31735,7 +31745,7 @@ var ts;
|
|
|
31735
31745
|
affectsEmit: true,
|
|
31736
31746
|
category: ts.Diagnostics.Emit,
|
|
31737
31747
|
description: ts.Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,
|
|
31738
|
-
defaultValueDescription:
|
|
31748
|
+
defaultValueDescription: false,
|
|
31739
31749
|
},
|
|
31740
31750
|
{
|
|
31741
31751
|
name: "noEmitOnError",
|
|
@@ -31744,7 +31754,7 @@ var ts;
|
|
|
31744
31754
|
category: ts.Diagnostics.Emit,
|
|
31745
31755
|
transpileOptionValue: undefined,
|
|
31746
31756
|
description: ts.Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,
|
|
31747
|
-
defaultValueDescription:
|
|
31757
|
+
defaultValueDescription: false,
|
|
31748
31758
|
},
|
|
31749
31759
|
{
|
|
31750
31760
|
name: "preserveConstEnums",
|
|
@@ -31752,7 +31762,7 @@ var ts;
|
|
|
31752
31762
|
affectsEmit: true,
|
|
31753
31763
|
category: ts.Diagnostics.Emit,
|
|
31754
31764
|
description: ts.Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,
|
|
31755
|
-
defaultValueDescription:
|
|
31765
|
+
defaultValueDescription: false,
|
|
31756
31766
|
},
|
|
31757
31767
|
{
|
|
31758
31768
|
name: "declarationDir",
|
|
@@ -31769,7 +31779,7 @@ var ts;
|
|
|
31769
31779
|
type: "boolean",
|
|
31770
31780
|
category: ts.Diagnostics.Completeness,
|
|
31771
31781
|
description: ts.Diagnostics.Skip_type_checking_all_d_ts_files,
|
|
31772
|
-
defaultValueDescription:
|
|
31782
|
+
defaultValueDescription: false,
|
|
31773
31783
|
},
|
|
31774
31784
|
{
|
|
31775
31785
|
name: "allowUnusedLabels",
|
|
@@ -31778,7 +31788,7 @@ var ts;
|
|
|
31778
31788
|
affectsSemanticDiagnostics: true,
|
|
31779
31789
|
category: ts.Diagnostics.Type_Checking,
|
|
31780
31790
|
description: ts.Diagnostics.Disable_error_reporting_for_unused_labels,
|
|
31781
|
-
defaultValueDescription:
|
|
31791
|
+
defaultValueDescription: undefined,
|
|
31782
31792
|
},
|
|
31783
31793
|
{
|
|
31784
31794
|
name: "allowUnreachableCode",
|
|
@@ -31787,7 +31797,7 @@ var ts;
|
|
|
31787
31797
|
affectsSemanticDiagnostics: true,
|
|
31788
31798
|
category: ts.Diagnostics.Type_Checking,
|
|
31789
31799
|
description: ts.Diagnostics.Disable_error_reporting_for_unreachable_code,
|
|
31790
|
-
defaultValueDescription:
|
|
31800
|
+
defaultValueDescription: undefined,
|
|
31791
31801
|
},
|
|
31792
31802
|
{
|
|
31793
31803
|
name: "suppressExcessPropertyErrors",
|
|
@@ -31795,7 +31805,7 @@ var ts;
|
|
|
31795
31805
|
affectsSemanticDiagnostics: true,
|
|
31796
31806
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31797
31807
|
description: ts.Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,
|
|
31798
|
-
defaultValueDescription:
|
|
31808
|
+
defaultValueDescription: false,
|
|
31799
31809
|
},
|
|
31800
31810
|
{
|
|
31801
31811
|
name: "suppressImplicitAnyIndexErrors",
|
|
@@ -31803,7 +31813,7 @@ var ts;
|
|
|
31803
31813
|
affectsSemanticDiagnostics: true,
|
|
31804
31814
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31805
31815
|
description: ts.Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,
|
|
31806
|
-
defaultValueDescription:
|
|
31816
|
+
defaultValueDescription: false,
|
|
31807
31817
|
},
|
|
31808
31818
|
{
|
|
31809
31819
|
name: "forceConsistentCasingInFileNames",
|
|
@@ -31811,7 +31821,7 @@ var ts;
|
|
|
31811
31821
|
affectsModuleResolution: true,
|
|
31812
31822
|
category: ts.Diagnostics.Interop_Constraints,
|
|
31813
31823
|
description: ts.Diagnostics.Ensure_that_casing_is_correct_in_imports,
|
|
31814
|
-
defaultValueDescription:
|
|
31824
|
+
defaultValueDescription: false,
|
|
31815
31825
|
},
|
|
31816
31826
|
{
|
|
31817
31827
|
name: "maxNodeModuleJsDepth",
|
|
@@ -31819,7 +31829,7 @@ var ts;
|
|
|
31819
31829
|
affectsModuleResolution: true,
|
|
31820
31830
|
category: ts.Diagnostics.JavaScript_Support,
|
|
31821
31831
|
description: ts.Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,
|
|
31822
|
-
defaultValueDescription:
|
|
31832
|
+
defaultValueDescription: 0,
|
|
31823
31833
|
},
|
|
31824
31834
|
{
|
|
31825
31835
|
name: "noStrictGenericChecks",
|
|
@@ -31827,7 +31837,7 @@ var ts;
|
|
|
31827
31837
|
affectsSemanticDiagnostics: true,
|
|
31828
31838
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31829
31839
|
description: ts.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,
|
|
31830
|
-
defaultValueDescription:
|
|
31840
|
+
defaultValueDescription: false,
|
|
31831
31841
|
},
|
|
31832
31842
|
{
|
|
31833
31843
|
name: "useDefineForClassFields",
|
|
@@ -31844,14 +31854,14 @@ var ts;
|
|
|
31844
31854
|
affectsEmit: true,
|
|
31845
31855
|
category: ts.Diagnostics.Emit,
|
|
31846
31856
|
description: ts.Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,
|
|
31847
|
-
defaultValueDescription:
|
|
31857
|
+
defaultValueDescription: false,
|
|
31848
31858
|
},
|
|
31849
31859
|
{
|
|
31850
31860
|
name: "keyofStringsOnly",
|
|
31851
31861
|
type: "boolean",
|
|
31852
31862
|
category: ts.Diagnostics.Backwards_Compatibility,
|
|
31853
31863
|
description: ts.Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,
|
|
31854
|
-
defaultValueDescription:
|
|
31864
|
+
defaultValueDescription: false,
|
|
31855
31865
|
},
|
|
31856
31866
|
{
|
|
31857
31867
|
name: "plugins",
|
|
@@ -31883,7 +31893,7 @@ var ts;
|
|
|
31883
31893
|
category: ts.Diagnostics.Command_line_Options,
|
|
31884
31894
|
description: ts.Diagnostics.Enable_verbose_logging,
|
|
31885
31895
|
type: "boolean",
|
|
31886
|
-
defaultValueDescription:
|
|
31896
|
+
defaultValueDescription: false,
|
|
31887
31897
|
},
|
|
31888
31898
|
{
|
|
31889
31899
|
name: "dry",
|
|
@@ -31891,7 +31901,7 @@ var ts;
|
|
|
31891
31901
|
category: ts.Diagnostics.Command_line_Options,
|
|
31892
31902
|
description: ts.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,
|
|
31893
31903
|
type: "boolean",
|
|
31894
|
-
defaultValueDescription:
|
|
31904
|
+
defaultValueDescription: false,
|
|
31895
31905
|
},
|
|
31896
31906
|
{
|
|
31897
31907
|
name: "force",
|
|
@@ -31899,14 +31909,14 @@ var ts;
|
|
|
31899
31909
|
category: ts.Diagnostics.Command_line_Options,
|
|
31900
31910
|
description: ts.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,
|
|
31901
31911
|
type: "boolean",
|
|
31902
|
-
defaultValueDescription:
|
|
31912
|
+
defaultValueDescription: false,
|
|
31903
31913
|
},
|
|
31904
31914
|
{
|
|
31905
31915
|
name: "clean",
|
|
31906
31916
|
category: ts.Diagnostics.Command_line_Options,
|
|
31907
31917
|
description: ts.Diagnostics.Delete_the_outputs_of_all_projects,
|
|
31908
31918
|
type: "boolean",
|
|
31909
|
-
defaultValueDescription:
|
|
31919
|
+
defaultValueDescription: false,
|
|
31910
31920
|
}
|
|
31911
31921
|
];
|
|
31912
31922
|
ts.buildOpts = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), ts.optionsForBuild, true);
|
|
@@ -31914,12 +31924,12 @@ var ts;
|
|
|
31914
31924
|
{
|
|
31915
31925
|
name: "enableAutoDiscovery",
|
|
31916
31926
|
type: "boolean",
|
|
31917
|
-
defaultValueDescription:
|
|
31927
|
+
defaultValueDescription: false,
|
|
31918
31928
|
},
|
|
31919
31929
|
{
|
|
31920
31930
|
name: "enable",
|
|
31921
31931
|
type: "boolean",
|
|
31922
|
-
defaultValueDescription:
|
|
31932
|
+
defaultValueDescription: false,
|
|
31923
31933
|
},
|
|
31924
31934
|
{
|
|
31925
31935
|
name: "include",
|
|
@@ -31940,7 +31950,7 @@ var ts;
|
|
|
31940
31950
|
{
|
|
31941
31951
|
name: "disableFilenameBasedTypeAcquisition",
|
|
31942
31952
|
type: "boolean",
|
|
31943
|
-
defaultValueDescription:
|
|
31953
|
+
defaultValueDescription: false,
|
|
31944
31954
|
},
|
|
31945
31955
|
];
|
|
31946
31956
|
function createOptionNameMap(optionDeclarations) {
|
|
@@ -72848,11 +72858,13 @@ var ts;
|
|
|
72848
72858
|
return false;
|
|
72849
72859
|
}
|
|
72850
72860
|
function checkNumericLiteralValueSize(node) {
|
|
72851
|
-
|
|
72861
|
+
var isFractional = ts.getTextOfNode(node).indexOf(".") !== -1;
|
|
72862
|
+
var isScientific = node.numericLiteralFlags & 16;
|
|
72863
|
+
if (isFractional || isScientific) {
|
|
72852
72864
|
return;
|
|
72853
72865
|
}
|
|
72854
|
-
var
|
|
72855
|
-
if (
|
|
72866
|
+
var value = +node.text;
|
|
72867
|
+
if (value <= Math.pow(2, 53) - 1) {
|
|
72856
72868
|
return;
|
|
72857
72869
|
}
|
|
72858
72870
|
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 +75558,7 @@ var ts;
|
|
|
75546
75558
|
return undefined;
|
|
75547
75559
|
}
|
|
75548
75560
|
var prefix = getClassMemberPrefix(node, member);
|
|
75549
|
-
var memberName = getExpressionForPropertyName(member,
|
|
75561
|
+
var memberName = getExpressionForPropertyName(member, !ts.hasSyntacticModifier(member, 2));
|
|
75550
75562
|
var descriptor = languageVersion > 0
|
|
75551
75563
|
? member.kind === 166
|
|
75552
75564
|
? factory.createVoidZero()
|
|
@@ -76099,9 +76111,6 @@ var ts;
|
|
|
76099
76111
|
var innerExpression = ts.skipOuterExpressions(node.expression, ~6);
|
|
76100
76112
|
if (ts.isAssertionExpression(innerExpression)) {
|
|
76101
76113
|
var expression = ts.visitNode(node.expression, visitor, ts.isExpression);
|
|
76102
|
-
if (ts.length(ts.getLeadingCommentRangesOfNode(expression, currentSourceFile))) {
|
|
76103
|
-
return factory.updateParenthesizedExpression(node, expression);
|
|
76104
|
-
}
|
|
76105
76114
|
return factory.createPartiallyEmittedExpression(expression, node);
|
|
76106
76115
|
}
|
|
76107
76116
|
return ts.visitEachChild(node, visitor, context);
|
|
@@ -79201,11 +79210,11 @@ var ts;
|
|
|
79201
79210
|
}
|
|
79202
79211
|
function visitOptionalExpression(node, captureThisArg, isDelete) {
|
|
79203
79212
|
var _a = flattenChain(node), expression = _a.expression, chain = _a.chain;
|
|
79204
|
-
var left = visitNonOptionalExpression(expression, ts.isCallChain(chain[0]), false);
|
|
79213
|
+
var left = visitNonOptionalExpression(ts.skipPartiallyEmittedExpressions(expression), ts.isCallChain(chain[0]), false);
|
|
79205
79214
|
var leftThisArg = ts.isSyntheticReference(left) ? left.thisArg : undefined;
|
|
79206
|
-
var
|
|
79207
|
-
var
|
|
79208
|
-
if (!ts.isSimpleCopiableExpression(
|
|
79215
|
+
var capturedLeft = ts.isSyntheticReference(left) ? left.expression : left;
|
|
79216
|
+
var leftExpression = factory.restoreOuterExpressions(expression, capturedLeft, 8);
|
|
79217
|
+
if (!ts.isSimpleCopiableExpression(capturedLeft)) {
|
|
79209
79218
|
capturedLeft = factory.createTempVariable(hoistVariableDeclaration);
|
|
79210
79219
|
leftExpression = factory.createAssignment(capturedLeft, leftExpression);
|
|
79211
79220
|
}
|
|
@@ -79231,6 +79240,10 @@ var ts;
|
|
|
79231
79240
|
break;
|
|
79232
79241
|
case 207:
|
|
79233
79242
|
if (i === 0 && leftThisArg) {
|
|
79243
|
+
if (!ts.isGeneratedIdentifier(leftThisArg)) {
|
|
79244
|
+
leftThisArg = factory.cloneNode(leftThisArg);
|
|
79245
|
+
ts.addEmitFlags(leftThisArg, 1536);
|
|
79246
|
+
}
|
|
79234
79247
|
rightExpression = factory.createFunctionCallCall(rightExpression, leftThisArg.kind === 106 ? factory.createThis() : leftThisArg, ts.visitNodes(segment.arguments, visitor, ts.isExpression));
|
|
79235
79248
|
}
|
|
79236
79249
|
else {
|
|
@@ -90156,7 +90169,7 @@ var ts;
|
|
|
90156
90169
|
function emitYieldExpression(node) {
|
|
90157
90170
|
emitTokenWithComment(125, node.pos, writeKeyword, node);
|
|
90158
90171
|
emit(node.asteriskToken);
|
|
90159
|
-
emitExpressionWithLeadingSpace(node.expression
|
|
90172
|
+
emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsiAndDisallowedComma);
|
|
90160
90173
|
}
|
|
90161
90174
|
function emitSpreadElement(node) {
|
|
90162
90175
|
emitTokenWithComment(25, node.pos, writePunctuation, node);
|
|
@@ -90343,9 +90356,44 @@ var ts;
|
|
|
90343
90356
|
}
|
|
90344
90357
|
return pos;
|
|
90345
90358
|
}
|
|
90359
|
+
function commentWillEmitNewLine(node) {
|
|
90360
|
+
return node.kind === 2 || !!node.hasTrailingNewLine;
|
|
90361
|
+
}
|
|
90362
|
+
function willEmitLeadingNewLine(node) {
|
|
90363
|
+
if (!currentSourceFile)
|
|
90364
|
+
return false;
|
|
90365
|
+
if (ts.some(ts.getLeadingCommentRanges(currentSourceFile.text, node.pos), commentWillEmitNewLine))
|
|
90366
|
+
return true;
|
|
90367
|
+
if (ts.some(ts.getSyntheticLeadingComments(node), commentWillEmitNewLine))
|
|
90368
|
+
return true;
|
|
90369
|
+
if (ts.isPartiallyEmittedExpression(node)) {
|
|
90370
|
+
if (node.pos !== node.expression.pos) {
|
|
90371
|
+
if (ts.some(ts.getTrailingCommentRanges(currentSourceFile.text, node.expression.pos), commentWillEmitNewLine))
|
|
90372
|
+
return true;
|
|
90373
|
+
}
|
|
90374
|
+
return willEmitLeadingNewLine(node.expression);
|
|
90375
|
+
}
|
|
90376
|
+
return false;
|
|
90377
|
+
}
|
|
90378
|
+
function parenthesizeExpressionForNoAsi(node) {
|
|
90379
|
+
if (!commentsDisabled && ts.isPartiallyEmittedExpression(node) && willEmitLeadingNewLine(node)) {
|
|
90380
|
+
var parseNode = ts.getParseTreeNode(node);
|
|
90381
|
+
if (parseNode && ts.isParenthesizedExpression(parseNode)) {
|
|
90382
|
+
var parens = ts.factory.createParenthesizedExpression(node.expression);
|
|
90383
|
+
ts.setOriginalNode(parens, node);
|
|
90384
|
+
ts.setTextRange(parens, parseNode);
|
|
90385
|
+
return parens;
|
|
90386
|
+
}
|
|
90387
|
+
return ts.factory.createParenthesizedExpression(node);
|
|
90388
|
+
}
|
|
90389
|
+
return node;
|
|
90390
|
+
}
|
|
90391
|
+
function parenthesizeExpressionForNoAsiAndDisallowedComma(node) {
|
|
90392
|
+
return parenthesizeExpressionForNoAsi(parenthesizer.parenthesizeExpressionForDisallowedComma(node));
|
|
90393
|
+
}
|
|
90346
90394
|
function emitReturnStatement(node) {
|
|
90347
90395
|
emitTokenWithComment(105, node.pos, writeKeyword, node);
|
|
90348
|
-
emitExpressionWithLeadingSpace(node.expression);
|
|
90396
|
+
emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi);
|
|
90349
90397
|
writeTrailingSemicolon();
|
|
90350
90398
|
}
|
|
90351
90399
|
function emitWithStatement(node) {
|
|
@@ -90373,7 +90421,7 @@ var ts;
|
|
|
90373
90421
|
}
|
|
90374
90422
|
function emitThrowStatement(node) {
|
|
90375
90423
|
emitTokenWithComment(109, node.pos, writeKeyword, node);
|
|
90376
|
-
emitExpressionWithLeadingSpace(node.expression);
|
|
90424
|
+
emitExpressionWithLeadingSpace(parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi);
|
|
90377
90425
|
writeTrailingSemicolon();
|
|
90378
90426
|
}
|
|
90379
90427
|
function emitTryStatement(node) {
|
|
@@ -91173,7 +91221,14 @@ var ts;
|
|
|
91173
91221
|
popNameGenerationScope(node);
|
|
91174
91222
|
}
|
|
91175
91223
|
function emitPartiallyEmittedExpression(node) {
|
|
91224
|
+
var emitFlags = ts.getEmitFlags(node);
|
|
91225
|
+
if (!(emitFlags & 512) && node.pos !== node.expression.pos) {
|
|
91226
|
+
emitTrailingCommentsOfPosition(node.expression.pos);
|
|
91227
|
+
}
|
|
91176
91228
|
emitExpression(node.expression);
|
|
91229
|
+
if (!(emitFlags & 1024) && node.end !== node.expression.end) {
|
|
91230
|
+
emitLeadingCommentsOfPosition(node.expression.end);
|
|
91231
|
+
}
|
|
91177
91232
|
}
|
|
91178
91233
|
function emitCommaList(node) {
|
|
91179
91234
|
emitExpressionList(node, node.elements, 528, undefined);
|
|
@@ -91512,10 +91567,8 @@ var ts;
|
|
|
91512
91567
|
}
|
|
91513
91568
|
previousSourceFileTextKind = recordBundleFileInternalSectionStart(child);
|
|
91514
91569
|
if (shouldEmitInterveningComments) {
|
|
91515
|
-
|
|
91516
|
-
|
|
91517
|
-
emitTrailingCommentsOfPosition(commentRange.pos);
|
|
91518
|
-
}
|
|
91570
|
+
var commentRange = ts.getCommentRange(child);
|
|
91571
|
+
emitTrailingCommentsOfPosition(commentRange.pos);
|
|
91519
91572
|
}
|
|
91520
91573
|
else {
|
|
91521
91574
|
shouldEmitInterveningComments = mayEmitInterveningComments;
|
|
@@ -101584,7 +101637,9 @@ var ts;
|
|
|
101584
101637
|
var colors = createColors(sys);
|
|
101585
101638
|
var name = getDisplayNameTextOfOption(option);
|
|
101586
101639
|
var valueCandidates = getValueCandidate(option);
|
|
101587
|
-
var defaultValueDescription = typeof option.defaultValueDescription === "object"
|
|
101640
|
+
var defaultValueDescription = typeof option.defaultValueDescription === "object"
|
|
101641
|
+
? ts.getDiagnosticText(option.defaultValueDescription)
|
|
101642
|
+
: formatDefaultValue(option.defaultValueDescription, option.type === "list" ? option.element.type : option.type);
|
|
101588
101643
|
var terminalWidth = (_b = (_a = sys.getWidthOfTerminal) === null || _a === void 0 ? void 0 : _a.call(sys)) !== null && _b !== void 0 ? _b : 0;
|
|
101589
101644
|
if (terminalWidth >= 80) {
|
|
101590
101645
|
var description = "";
|
|
@@ -101624,6 +101679,20 @@ var ts;
|
|
|
101624
101679
|
text.push(sys.newLine);
|
|
101625
101680
|
}
|
|
101626
101681
|
return text;
|
|
101682
|
+
function formatDefaultValue(defaultValue, type) {
|
|
101683
|
+
return defaultValue !== undefined && typeof type === "object"
|
|
101684
|
+
? ts.arrayFrom(type.entries())
|
|
101685
|
+
.filter(function (_a) {
|
|
101686
|
+
var value = _a[1];
|
|
101687
|
+
return value === defaultValue;
|
|
101688
|
+
})
|
|
101689
|
+
.map(function (_a) {
|
|
101690
|
+
var name = _a[0];
|
|
101691
|
+
return name;
|
|
101692
|
+
})
|
|
101693
|
+
.join("/")
|
|
101694
|
+
: String(defaultValue);
|
|
101695
|
+
}
|
|
101627
101696
|
function showAdditionalInfoOutput(valueCandidates, option) {
|
|
101628
101697
|
var ignoreValues = ["string"];
|
|
101629
101698
|
var ignoredDescriptions = [undefined, "false", "n/a"];
|
|
@@ -101692,8 +101761,16 @@ var ts;
|
|
|
101692
101761
|
possibleValues = "";
|
|
101693
101762
|
break;
|
|
101694
101763
|
default:
|
|
101695
|
-
var
|
|
101696
|
-
|
|
101764
|
+
var inverted_1 = {};
|
|
101765
|
+
option.type.forEach(function (value, name) {
|
|
101766
|
+
(inverted_1[value] || (inverted_1[value] = [])).push(name);
|
|
101767
|
+
});
|
|
101768
|
+
return ts.getEntries(inverted_1)
|
|
101769
|
+
.map(function (_a) {
|
|
101770
|
+
var synonyms = _a[1];
|
|
101771
|
+
return synonyms.join("/");
|
|
101772
|
+
})
|
|
101773
|
+
.join(", ");
|
|
101697
101774
|
}
|
|
101698
101775
|
return possibleValues;
|
|
101699
101776
|
}
|