You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
+28-1
Original file line number
Diff line number
Diff line change
@@ -5013,6 +5013,33 @@
5013
5013
"Private names cannot be used as parameters": {
5014
5014
"category": "Error",
5015
5015
"code": 18008
5016
+
},
5017
+
"Accessibility modifiers cannot be used with private names.": {
5018
+
"category": "Error",
5019
+
"code": 18009
5020
+
},
5021
+
"The operand of a delete operator cannot be a private name.": {
5022
+
"category": "Error",
5023
+
"code": 18010
5024
+
},
5025
+
"'#constructor' is a reserved word.": {
5026
+
"category": "Error",
5027
+
"code": 1811
5028
+
},
5029
+
"Property '{0}' is not accessible outside class '{1}' because it has a private name.": {
5030
+
"category": "Error",
5031
+
"code": 18012
5032
+
},
5033
+
"This usage of '{0}' refers to the private member declared in its enclosing class. While type '{1}' has a private member with the same spelling, its declaration and accessibility are distinct.": {
5034
+
"category": "Error",
5035
+
"code": 18013
5036
+
},
5037
+
"Property '{0}' is missing in type '{1}'. While type '{1}' has a private member with the same spelling, its declaration and accessibility are distinct.": {
5038
+
"category": "Error",
5039
+
"code": 18014
5040
+
},
5041
+
"Private names are not allowed outside class bodies.": {
0 commit comments