@@ -899,7 +899,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
899899 showInSimplifiedHelpView : true ,
900900 category : Diagnostics . Type_Checking ,
901901 description : Diagnostics . Enable_all_strict_type_checking_options ,
902- defaultValueDescription : false ,
902+ defaultValueDescription : true ,
903903 } ,
904904 {
905905 name : "noImplicitAny" ,
@@ -909,7 +909,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
909909 strictFlag : true ,
910910 category : Diagnostics . Type_Checking ,
911911 description : Diagnostics . Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type ,
912- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
912+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
913913 } ,
914914 {
915915 name : "strictNullChecks" ,
@@ -919,7 +919,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
919919 strictFlag : true ,
920920 category : Diagnostics . Type_Checking ,
921921 description : Diagnostics . When_type_checking_take_into_account_null_and_undefined ,
922- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
922+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
923923 } ,
924924 {
925925 name : "strictFunctionTypes" ,
@@ -929,7 +929,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
929929 strictFlag : true ,
930930 category : Diagnostics . Type_Checking ,
931931 description : Diagnostics . When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible ,
932- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
932+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
933933 } ,
934934 {
935935 name : "strictBindCallApply" ,
@@ -939,7 +939,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
939939 strictFlag : true ,
940940 category : Diagnostics . Type_Checking ,
941941 description : Diagnostics . Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function ,
942- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
942+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
943943 } ,
944944 {
945945 name : "strictPropertyInitialization" ,
@@ -949,7 +949,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
949949 strictFlag : true ,
950950 category : Diagnostics . Type_Checking ,
951951 description : Diagnostics . Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor ,
952- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
952+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
953953 } ,
954954 {
955955 name : "strictBuiltinIteratorReturn" ,
@@ -959,7 +959,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
959959 strictFlag : true ,
960960 category : Diagnostics . Type_Checking ,
961961 description : Diagnostics . Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any ,
962- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
962+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
963963 } ,
964964 {
965965 name : "stableTypeOrdering" ,
@@ -979,7 +979,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
979979 strictFlag : true ,
980980 category : Diagnostics . Type_Checking ,
981981 description : Diagnostics . Enable_error_reporting_when_this_is_given_the_type_any ,
982- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
982+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
983983 } ,
984984 {
985985 name : "useUnknownInCatchVariables" ,
@@ -989,18 +989,17 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
989989 strictFlag : true ,
990990 category : Diagnostics . Type_Checking ,
991991 description : Diagnostics . Default_catch_clause_variables_as_unknown_instead_of_any ,
992- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
992+ defaultValueDescription : Diagnostics . true_unless_strict_is_false ,
993993 } ,
994994 {
995995 name : "alwaysStrict" ,
996996 type : "boolean" ,
997997 affectsSourceFile : true ,
998998 affectsEmit : true ,
999999 affectsBuildInfo : true ,
1000- strictFlag : true ,
10011000 category : Diagnostics . Type_Checking ,
10021001 description : Diagnostics . Ensure_use_strict_is_always_emitted ,
1003- defaultValueDescription : Diagnostics . false_unless_strict_is_set ,
1002+ defaultValueDescription : true ,
10041003 } ,
10051004
10061005 // Additional Checks
0 commit comments