Introduce --strictFunctionTypes mode

This commit is contained in:
Anders Hejlsberg committed 2017-09-18 06:33:47 -07:00
1 parent 0ac8406cd7
commit 12f5dd85d7
4 files changed
+90 -13

No files matched your search

+7
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",