@@ -15,7 +15,7 @@ namespace ts {
15
15
shortName : "h" ,
16
16
type : "boolean" ,
17
17
showInSimplifiedHelpView : true ,
18
- category : Diagnostics . CommandLine_Options ,
18
+ category : Diagnostics . Command_line_Options ,
19
19
description : Diagnostics . Print_this_message ,
20
20
} ,
21
21
{
@@ -27,22 +27,22 @@ namespace ts {
27
27
name : "all" ,
28
28
type : "boolean" ,
29
29
showInSimplifiedHelpView : true ,
30
- category : Diagnostics . CommandLine_Options ,
30
+ category : Diagnostics . Command_line_Options ,
31
31
description : Diagnostics . Show_all_compiler_options ,
32
32
} ,
33
33
{
34
34
name : "version" ,
35
35
shortName : "v" ,
36
36
type : "boolean" ,
37
37
showInSimplifiedHelpView : true ,
38
- category : Diagnostics . CommandLine_Options ,
38
+ category : Diagnostics . Command_line_Options ,
39
39
description : Diagnostics . Print_the_compiler_s_version ,
40
40
} ,
41
41
{
42
42
name : "init" ,
43
43
type : "boolean" ,
44
44
showInSimplifiedHelpView : true ,
45
- category : Diagnostics . CommandLine_Options ,
45
+ category : Diagnostics . Command_line_Options ,
46
46
description : Diagnostics . Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file ,
47
47
} ,
48
48
{
@@ -51,23 +51,23 @@ namespace ts {
51
51
type : "string" ,
52
52
isFilePath : true ,
53
53
showInSimplifiedHelpView : true ,
54
- category : Diagnostics . CommandLine_Options ,
54
+ category : Diagnostics . Command_line_Options ,
55
55
paramType : Diagnostics . FILE_OR_DIRECTORY ,
56
56
description : Diagnostics . Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json ,
57
57
} ,
58
58
{
59
59
name : "pretty" ,
60
60
type : "boolean" ,
61
61
showInSimplifiedHelpView : true ,
62
- category : Diagnostics . CommandLine_Options ,
62
+ category : Diagnostics . Command_line_Options ,
63
63
description : Diagnostics . Stylize_errors_and_messages_using_color_and_context_experimental
64
64
} ,
65
65
{
66
66
name : "watch" ,
67
67
shortName : "w" ,
68
68
type : "boolean" ,
69
69
showInSimplifiedHelpView : true ,
70
- category : Diagnostics . CommandLine_Options ,
70
+ category : Diagnostics . Command_line_Options ,
71
71
description : Diagnostics . Watch_input_files ,
72
72
} ,
73
73
@@ -230,49 +230,49 @@ namespace ts {
230
230
name : "downlevelIteration" ,
231
231
type : "boolean" ,
232
232
category : Diagnostics . Basic_Options ,
233
- description : Diagnostics . Use_full_down_level_iteration_for_iterables_and_arrays_for_for_of_spread_and_destructuring_in_ES5_Slash3
233
+ description : Diagnostics . Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3
234
234
} ,
235
235
{
236
236
name : "isolatedModules" ,
237
237
type : "boolean" ,
238
238
category : Diagnostics . Basic_Options ,
239
- description : Diagnostics . Unconditionally_emit_imports_for_unresolved_files
239
+ description : Diagnostics . Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule
240
240
} ,
241
241
242
242
// Strict Type Checks
243
243
{
244
244
name : "strict" ,
245
245
type : "boolean" ,
246
246
showInSimplifiedHelpView : true ,
247
- category : Diagnostics . Strict_Type_Checks ,
248
- description : Diagnostics . Enable_all_strict_type_checks
247
+ category : Diagnostics . Strict_Type_Checking_Options ,
248
+ description : Diagnostics . Enable_all_strict_type_checking_options
249
249
} ,
250
250
{
251
251
name : "noImplicitAny" ,
252
252
type : "boolean" ,
253
253
showInSimplifiedHelpView : true ,
254
- category : Diagnostics . Strict_Type_Checks ,
254
+ category : Diagnostics . Strict_Type_Checking_Options ,
255
255
description : Diagnostics . Raise_error_on_expressions_and_declarations_with_an_implied_any_type ,
256
256
} ,
257
257
{
258
258
name : "strictNullChecks" ,
259
259
type : "boolean" ,
260
260
showInSimplifiedHelpView : true ,
261
- category : Diagnostics . Strict_Type_Checks ,
261
+ category : Diagnostics . Strict_Type_Checking_Options ,
262
262
description : Diagnostics . Enable_strict_null_checks
263
263
} ,
264
264
{
265
265
name : "noImplicitThis" ,
266
266
type : "boolean" ,
267
267
showInSimplifiedHelpView : true ,
268
- category : Diagnostics . Strict_Type_Checks ,
268
+ category : Diagnostics . Strict_Type_Checking_Options ,
269
269
description : Diagnostics . Raise_error_on_this_expressions_with_an_implied_any_type ,
270
270
} ,
271
271
{
272
272
name : "alwaysStrict" ,
273
273
type : "boolean" ,
274
274
showInSimplifiedHelpView : true ,
275
- category : Diagnostics . Strict_Type_Checks ,
275
+ category : Diagnostics . Strict_Type_Checking_Options ,
276
276
description : Diagnostics . Parse_in_strict_mode_and_emit_use_strict_for_each_source_file
277
277
} ,
278
278
@@ -331,7 +331,7 @@ namespace ts {
331
331
type : "object" ,
332
332
isTSConfigOnly : true ,
333
333
category : Diagnostics . Module_Resolution_Options ,
334
- description : Diagnostics . List_of_path_mapping_entries_for_module_names_to_locations_relative_to_the_baseUrl
334
+ description : Diagnostics . A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl
335
335
336
336
} ,
337
337
{
@@ -346,7 +346,7 @@ namespace ts {
346
346
isFilePath : true
347
347
} ,
348
348
category : Diagnostics . Module_Resolution_Options ,
349
- description : Diagnostics . List_of_root_folders_whose_combined_content_represent_the_structure_of_the_project_at_runtime
349
+ description : Diagnostics . List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime
350
350
} ,
351
351
{
352
352
name : "typeRoots" ,
@@ -383,27 +383,27 @@ namespace ts {
383
383
type : "string" ,
384
384
isFilePath : true ,
385
385
paramType : Diagnostics . LOCATION ,
386
- category : Diagnostics . SourceMap_Options ,
386
+ category : Diagnostics . Source_Map_Options ,
387
387
description : Diagnostics . Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations ,
388
388
} ,
389
389
{
390
390
name : "mapRoot" ,
391
391
type : "string" ,
392
392
isFilePath : true ,
393
393
paramType : Diagnostics . LOCATION ,
394
- category : Diagnostics . SourceMap_Options ,
394
+ category : Diagnostics . Source_Map_Options ,
395
395
description : Diagnostics . Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations ,
396
396
} ,
397
397
{
398
398
name : "inlineSourceMap" ,
399
399
type : "boolean" ,
400
- category : Diagnostics . SourceMap_Options ,
400
+ category : Diagnostics . Source_Map_Options ,
401
401
description : Diagnostics . Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file
402
402
} ,
403
403
{
404
404
name : "inlineSources" ,
405
405
type : "boolean" ,
406
- category : Diagnostics . SourceMap_Options ,
406
+ category : Diagnostics . Source_Map_Options ,
407
407
description : Diagnostics . Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set
408
408
} ,
409
409
@@ -438,7 +438,7 @@ namespace ts {
438
438
name : "extendedDiagnostics" ,
439
439
type : "boolean" ,
440
440
category : Diagnostics . Advanced_Options ,
441
- description : Diagnostics . Show_extended_diagnostic_information
441
+ description : Diagnostics . Show_verbose_diagnostic_information
442
442
} ,
443
443
{
444
444
name : "traceResolution" ,
@@ -496,7 +496,7 @@ namespace ts {
496
496
name : "locale" ,
497
497
type : "string" ,
498
498
category : Diagnostics . Advanced_Options ,
499
- description : Diagnostics . The_locale_to_use_to_show_error_messages_e_g_en_us
499
+ description : Diagnostics . The_locale_used_when_displaying_messages_to_the_user_e_g_en_us
500
500
} ,
501
501
{
502
502
name : "newLine" ,
@@ -512,7 +512,7 @@ namespace ts {
512
512
name : "noErrorTruncation" ,
513
513
type : "boolean" ,
514
514
category : Diagnostics . Advanced_Options ,
515
- description : Diagnostics . Do_not_truncation_error_messages
515
+ description : Diagnostics . Do_not_truncate_error_messages
516
516
} ,
517
517
{
518
518
name : "noLib" ,
@@ -524,7 +524,7 @@ namespace ts {
524
524
name : "noResolve" ,
525
525
type : "boolean" ,
526
526
category : Diagnostics . Advanced_Options ,
527
- description : Diagnostics . Do_not_add_triple_slash_references_or_module_import_targets_to_the_list_of_compiled_files
527
+ description : Diagnostics . Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files
528
528
} ,
529
529
{
530
530
name : "stripInternal" ,
@@ -536,7 +536,7 @@ namespace ts {
536
536
name : "disableSizeLimit" ,
537
537
type : "boolean" ,
538
538
category : Diagnostics . Advanced_Options ,
539
- description : Diagnostics . Disable_size_limitation_on_JavaScript_project
539
+ description : Diagnostics . Disable_size_limitations_on_JavaScript_projects
540
540
} ,
541
541
{
542
542
name : "noImplicitUseStrict" ,
@@ -621,7 +621,7 @@ namespace ts {
621
621
name : "plugin" ,
622
622
type : "object"
623
623
} ,
624
- description : Diagnostics . List_of_Language_Service_plugins
624
+ description : Diagnostics . List_of_language_service_plugins
625
625
}
626
626
] ;
627
627
@@ -932,7 +932,7 @@ namespace ts {
932
932
if ( hasProperty ( options , name ) ) {
933
933
// tsconfig only options cannot be specified via command line,
934
934
// so we can assume that only types that can appear here string | number | boolean
935
- if ( optionsNameMap . has ( name ) && optionsNameMap . get ( name ) . category === Diagnostics . CommandLine_Options ) {
935
+ if ( optionsNameMap . has ( name ) && optionsNameMap . get ( name ) . category === Diagnostics . Command_line_Options ) {
936
936
continue ;
937
937
}
938
938
const value = options [ name ] ;
@@ -987,7 +987,7 @@ namespace ts {
987
987
function writeConfigurations ( ) {
988
988
// Filter applicable options to place in the file
989
989
const categorizedOptions = reduceLeft (
990
- filter ( optionDeclarations , o => o . category !== Diagnostics . CommandLine_Options && o . category !== Diagnostics . Advanced_Options ) ,
990
+ filter ( optionDeclarations , o => o . category !== Diagnostics . Command_line_Options && o . category !== Diagnostics . Advanced_Options ) ,
991
991
( memo , value ) => {
992
992
if ( value . category ) {
993
993
const name = getLocaleSpecificMessage ( value . category ) ;
0 commit comments