New --strictBindCallApply flag in compiler

This commit is contained in:
Anders Hejlsberg
2018-09-10 15:12:16 -07:00
parent df837847e9
commit 22a384d786
5 changed files with 25 additions and 3 deletions

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