mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-13 11:46:08 -05:00
Rename strictOptionalProperties -> exactOptionalPropertyTypes and remove from strict family (#44626)
This commit is contained in:
@@ -648,14 +648,6 @@ namespace ts {
|
||||
description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,
|
||||
defaultValueDescription: Diagnostics.false_unless_strict_is_set
|
||||
},
|
||||
{
|
||||
name: "strictOptionalProperties",
|
||||
type: "boolean",
|
||||
affectsSemanticDiagnostics: true,
|
||||
strictFlag: true,
|
||||
category: Diagnostics.Type_Checking,
|
||||
description: Diagnostics.Enable_strict_checking_of_optional_properties
|
||||
},
|
||||
{
|
||||
name: "noImplicitThis",
|
||||
type: "boolean",
|
||||
@@ -700,6 +692,13 @@ namespace ts {
|
||||
description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,
|
||||
defaultValueDescription: "false"
|
||||
},
|
||||
{
|
||||
name: "exactOptionalPropertyTypes",
|
||||
type: "boolean",
|
||||
affectsSemanticDiagnostics: true,
|
||||
category: Diagnostics.Type_Checking,
|
||||
description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined
|
||||
},
|
||||
{
|
||||
name: "noImplicitReturns",
|
||||
type: "boolean",
|
||||
|
||||
Reference in New Issue
Block a user