Introduce --strictFunctionTypes mode

This commit is contained in:
Anders Hejlsberg
2017-09-18 06:33:47 -07:00
parent 0ac8406cd7
commit 12f5dd85d7
4 changed files with 90 additions and 13 deletions

View File

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