Add --strictPropertyInitialization compiler option

This commit is contained in:
Anders Hejlsberg
2017-11-16 10:58:00 -08:00
parent c11969f804
commit 8cbff0159d
4 changed files with 14 additions and 2 deletions

View File

@@ -277,6 +277,13 @@ namespace ts {
category: Diagnostics.Strict_Type_Checking_Options,
description: Diagnostics.Enable_strict_checking_of_function_types
},
{
name: "strictPropertyInitialization",
type: "boolean",
showInSimplifiedHelpView: true,
category: Diagnostics.Strict_Type_Checking_Options,
description: Diagnostics.Enable_strict_checking_of_property_initialization_in_classes
},
{
name: "noImplicitThis",
type: "boolean",