@@ -319,41 +319,47 @@ namespace ts {
319319 {
320320 name : "noImplicitAny" ,
321321 type : "boolean" ,
322+ strictFlag : true ,
322323 showInSimplifiedHelpView : true ,
323324 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
325326 } ,
326327 {
327328 name : "strictNullChecks" ,
328329 type : "boolean" ,
330+ strictFlag : true ,
329331 showInSimplifiedHelpView : true ,
330332 category : Diagnostics . Strict_Type_Checking_Options ,
331333 description : Diagnostics . Enable_strict_null_checks
332334 } ,
333335 {
334336 name : "strictFunctionTypes" ,
335337 type : "boolean" ,
338+ strictFlag : true ,
336339 showInSimplifiedHelpView : true ,
337340 category : Diagnostics . Strict_Type_Checking_Options ,
338341 description : Diagnostics . Enable_strict_checking_of_function_types
339342 } ,
340343 {
341344 name : "strictPropertyInitialization" ,
342345 type : "boolean" ,
346+ strictFlag : true ,
343347 showInSimplifiedHelpView : true ,
344348 category : Diagnostics . Strict_Type_Checking_Options ,
345349 description : Diagnostics . Enable_strict_checking_of_property_initialization_in_classes
346350 } ,
347351 {
348352 name : "noImplicitThis" ,
349353 type : "boolean" ,
354+ strictFlag : true ,
350355 showInSimplifiedHelpView : true ,
351356 category : Diagnostics . Strict_Type_Checking_Options ,
352357 description : Diagnostics . Raise_error_on_this_expressions_with_an_implied_any_type ,
353358 } ,
354359 {
355360 name : "alwaysStrict" ,
356361 type : "boolean" ,
362+ strictFlag : true ,
357363 showInSimplifiedHelpView : true ,
358364 category : Diagnostics . Strict_Type_Checking_Options ,
359365 description : Diagnostics . Parse_in_strict_mode_and_emit_use_strict_for_each_source_file
@@ -363,27 +369,31 @@ namespace ts {
363369 {
364370 name : "noUnusedLocals" ,
365371 type : "boolean" ,
372+ affectsSemanticDiagnostics : true ,
366373 showInSimplifiedHelpView : true ,
367374 category : Diagnostics . Additional_Checks ,
368375 description : Diagnostics . Report_errors_on_unused_locals ,
369376 } ,
370377 {
371378 name : "noUnusedParameters" ,
372379 type : "boolean" ,
380+ affectsSemanticDiagnostics : true ,
373381 showInSimplifiedHelpView : true ,
374382 category : Diagnostics . Additional_Checks ,
375383 description : Diagnostics . Report_errors_on_unused_parameters ,
376384 } ,
377385 {
378386 name : "noImplicitReturns" ,
379387 type : "boolean" ,
388+ affectsSemanticDiagnostics : true ,
380389 showInSimplifiedHelpView : true ,
381390 category : Diagnostics . Additional_Checks ,
382391 description : Diagnostics . Report_error_when_not_all_code_paths_in_function_return_a_value
383392 } ,
384393 {
385394 name : "noFallthroughCasesInSwitch" ,
386395 type : "boolean" ,
396+ affectsSemanticDiagnostics : true ,
387397 showInSimplifiedHelpView : true ,
388398 category : Diagnostics . Additional_Checks ,
389399 description : Diagnostics . Report_errors_for_fallthrough_cases_in_switch_statement
@@ -455,12 +465,14 @@ namespace ts {
455465 {
456466 name : "allowSyntheticDefaultImports" ,
457467 type : "boolean" ,
468+ affectsSemanticDiagnostics : true ,
458469 category : Diagnostics . Module_Resolution_Options ,
459470 description : Diagnostics . Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking
460471 } ,
461472 {
462473 name : "esModuleInterop" ,
463474 type : "boolean" ,
475+ affectsSemanticDiagnostics : true ,
464476 showInSimplifiedHelpView : true ,
465477 category : Diagnostics . Module_Resolution_Options ,
466478 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 {
640652 {
641653 name : "noImplicitUseStrict" ,
642654 type : "boolean" ,
655+ affectsSemanticDiagnostics : true ,
643656 category : Diagnostics . Advanced_Options ,
644657 description : Diagnostics . Do_not_emit_use_strict_directives_in_module_output
645658 } ,
@@ -678,24 +691,28 @@ namespace ts {
678691 {
679692 name : "allowUnusedLabels" ,
680693 type : "boolean" ,
694+ affectsSemanticDiagnostics : true ,
681695 category : Diagnostics . Advanced_Options ,
682696 description : Diagnostics . Do_not_report_errors_on_unused_labels
683697 } ,
684698 {
685699 name : "allowUnreachableCode" ,
686700 type : "boolean" ,
701+ affectsSemanticDiagnostics : true ,
687702 category : Diagnostics . Advanced_Options ,
688703 description : Diagnostics . Do_not_report_errors_on_unreachable_code
689704 } ,
690705 {
691706 name : "suppressExcessPropertyErrors" ,
692707 type : "boolean" ,
708+ affectsSemanticDiagnostics : true ,
693709 category : Diagnostics . Advanced_Options ,
694710 description : Diagnostics . Suppress_excess_property_checks_for_object_literals ,
695711 } ,
696712 {
697713 name : "suppressImplicitAnyIndexErrors" ,
698714 type : "boolean" ,
715+ affectsSemanticDiagnostics : true ,
699716 category : Diagnostics . Advanced_Options ,
700717 description : Diagnostics . Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures ,
701718 } ,
@@ -714,6 +731,7 @@ namespace ts {
714731 {
715732 name : "noStrictGenericChecks" ,
716733 type : "boolean" ,
734+ affectsSemanticDiagnostics : true ,
717735 category : Diagnostics . Advanced_Options ,
718736 description : Diagnostics . Disable_strict_checking_of_generic_signatures_in_function_types ,
719737 } ,
0 commit comments