@@ -319,41 +319,47 @@ namespace ts {
319
319
{
320
320
name : "noImplicitAny" ,
321
321
type : "boolean" ,
322
+ strictFlag : true ,
322
323
showInSimplifiedHelpView : true ,
323
324
category : Diagnostics . Strict_Type_Checking_Options ,
324
- description : Diagnostics . Raise_error_on_expressions_and_declarations_with_an_implied_any_type ,
325
+ description : Diagnostics . Raise_error_on_expressions_and_declarations_with_an_implied_any_type
325
326
} ,
326
327
{
327
328
name : "strictNullChecks" ,
328
329
type : "boolean" ,
330
+ strictFlag : true ,
329
331
showInSimplifiedHelpView : true ,
330
332
category : Diagnostics . Strict_Type_Checking_Options ,
331
333
description : Diagnostics . Enable_strict_null_checks
332
334
} ,
333
335
{
334
336
name : "strictFunctionTypes" ,
335
337
type : "boolean" ,
338
+ strictFlag : true ,
336
339
showInSimplifiedHelpView : true ,
337
340
category : Diagnostics . Strict_Type_Checking_Options ,
338
341
description : Diagnostics . Enable_strict_checking_of_function_types
339
342
} ,
340
343
{
341
344
name : "strictPropertyInitialization" ,
342
345
type : "boolean" ,
346
+ strictFlag : true ,
343
347
showInSimplifiedHelpView : true ,
344
348
category : Diagnostics . Strict_Type_Checking_Options ,
345
349
description : Diagnostics . Enable_strict_checking_of_property_initialization_in_classes
346
350
} ,
347
351
{
348
352
name : "noImplicitThis" ,
349
353
type : "boolean" ,
354
+ strictFlag : true ,
350
355
showInSimplifiedHelpView : true ,
351
356
category : Diagnostics . Strict_Type_Checking_Options ,
352
357
description : Diagnostics . Raise_error_on_this_expressions_with_an_implied_any_type ,
353
358
} ,
354
359
{
355
360
name : "alwaysStrict" ,
356
361
type : "boolean" ,
362
+ strictFlag : true ,
357
363
showInSimplifiedHelpView : true ,
358
364
category : Diagnostics . Strict_Type_Checking_Options ,
359
365
description : Diagnostics . Parse_in_strict_mode_and_emit_use_strict_for_each_source_file
@@ -363,27 +369,31 @@ namespace ts {
363
369
{
364
370
name : "noUnusedLocals" ,
365
371
type : "boolean" ,
372
+ affectsSemanticDiagnostics : true ,
366
373
showInSimplifiedHelpView : true ,
367
374
category : Diagnostics . Additional_Checks ,
368
375
description : Diagnostics . Report_errors_on_unused_locals ,
369
376
} ,
370
377
{
371
378
name : "noUnusedParameters" ,
372
379
type : "boolean" ,
380
+ affectsSemanticDiagnostics : true ,
373
381
showInSimplifiedHelpView : true ,
374
382
category : Diagnostics . Additional_Checks ,
375
383
description : Diagnostics . Report_errors_on_unused_parameters ,
376
384
} ,
377
385
{
378
386
name : "noImplicitReturns" ,
379
387
type : "boolean" ,
388
+ affectsSemanticDiagnostics : true ,
380
389
showInSimplifiedHelpView : true ,
381
390
category : Diagnostics . Additional_Checks ,
382
391
description : Diagnostics . Report_error_when_not_all_code_paths_in_function_return_a_value
383
392
} ,
384
393
{
385
394
name : "noFallthroughCasesInSwitch" ,
386
395
type : "boolean" ,
396
+ affectsSemanticDiagnostics : true ,
387
397
showInSimplifiedHelpView : true ,
388
398
category : Diagnostics . Additional_Checks ,
389
399
description : Diagnostics . Report_errors_for_fallthrough_cases_in_switch_statement
@@ -455,12 +465,14 @@ namespace ts {
455
465
{
456
466
name : "allowSyntheticDefaultImports" ,
457
467
type : "boolean" ,
468
+ affectsSemanticDiagnostics : true ,
458
469
category : Diagnostics . Module_Resolution_Options ,
459
470
description : Diagnostics . Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking
460
471
} ,
461
472
{
462
473
name : "esModuleInterop" ,
463
474
type : "boolean" ,
475
+ affectsSemanticDiagnostics : true ,
464
476
showInSimplifiedHelpView : true ,
465
477
category : Diagnostics . Module_Resolution_Options ,
466
478
description : Diagnostics . Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports
@@ -640,6 +652,7 @@ namespace ts {
640
652
{
641
653
name : "noImplicitUseStrict" ,
642
654
type : "boolean" ,
655
+ affectsSemanticDiagnostics : true ,
643
656
category : Diagnostics . Advanced_Options ,
644
657
description : Diagnostics . Do_not_emit_use_strict_directives_in_module_output
645
658
} ,
@@ -678,24 +691,28 @@ namespace ts {
678
691
{
679
692
name : "allowUnusedLabels" ,
680
693
type : "boolean" ,
694
+ affectsSemanticDiagnostics : true ,
681
695
category : Diagnostics . Advanced_Options ,
682
696
description : Diagnostics . Do_not_report_errors_on_unused_labels
683
697
} ,
684
698
{
685
699
name : "allowUnreachableCode" ,
686
700
type : "boolean" ,
701
+ affectsSemanticDiagnostics : true ,
687
702
category : Diagnostics . Advanced_Options ,
688
703
description : Diagnostics . Do_not_report_errors_on_unreachable_code
689
704
} ,
690
705
{
691
706
name : "suppressExcessPropertyErrors" ,
692
707
type : "boolean" ,
708
+ affectsSemanticDiagnostics : true ,
693
709
category : Diagnostics . Advanced_Options ,
694
710
description : Diagnostics . Suppress_excess_property_checks_for_object_literals ,
695
711
} ,
696
712
{
697
713
name : "suppressImplicitAnyIndexErrors" ,
698
714
type : "boolean" ,
715
+ affectsSemanticDiagnostics : true ,
699
716
category : Diagnostics . Advanced_Options ,
700
717
description : Diagnostics . Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures ,
701
718
} ,
@@ -714,6 +731,7 @@ namespace ts {
714
731
{
715
732
name : "noStrictGenericChecks" ,
716
733
type : "boolean" ,
734
+ affectsSemanticDiagnostics : true ,
717
735
category : Diagnostics . Advanced_Options ,
718
736
description : Diagnostics . Disable_strict_checking_of_generic_signatures_in_function_types ,
719
737
} ,
0 commit comments