mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 20:37:00 -05:00
Add new error message and strictThis flag
This commit is contained in:
@@ -130,6 +130,10 @@ namespace ts {
|
||||
name: "skipDefaultLibCheck",
|
||||
type: "boolean",
|
||||
},
|
||||
{
|
||||
name: "strictThis",
|
||||
type: "boolean",
|
||||
},
|
||||
{
|
||||
name: "out",
|
||||
type: "string",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user