Add new error message and strictThis flag

This commit is contained in:
Nathan Shively-Sanders
2016-01-29 14:39:01 -08:00
parent a639b71ed0
commit 9bd7afb143
2 changed files with 8 additions and 0 deletions

View File

@@ -130,6 +130,10 @@ namespace ts {
name: "skipDefaultLibCheck",
type: "boolean",
},
{
name: "strictThis",
type: "boolean",
},
{
name: "out",
type: "string",

View File

@@ -1819,6 +1819,10 @@
"category": "Error",
"code": 2670
},
"A function that is called with the 'new' keyword cannot have a 'this' type that is void.": {
"category": "Error",
"code": 2671
},
"Import declaration '{0}' is using private name '{1}'.": {
"category": "Error",
"code": 4000