New --strictBindCallApply flag in compiler

This commit is contained in:
Anders Hejlsberg committed 2018-09-10 15:12:16 -07:00
1 parent df837847e9
commit 22a384d786
5 files changed
+25 -3

No files matched your search

+8
View File
@@ -344,6 +344,14 @@ namespace ts {
category: Diagnostics.Strict_Type_Checking_Options,
description: Diagnostics.Enable_strict_checking_of_function_types
},
{
name: "strictBindCallApply",
type: "boolean",
strictFlag: true,
showInSimplifiedHelpView: true,
category: Diagnostics.Strict_Type_Checking_Options,
description: Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions
},
{
name: "strictPropertyInitialization",
type: "boolean",