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-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5021,6 +5021,33 @@
5021
5021
"Private names cannot be used as parameters": {
5022
5022
"category": "Error",
5023
5023
"code": 18009
5024
+
},
5025
+
"Accessibility modifiers cannot be used with private names.": {
5026
+
"category": "Error",
5027
+
"code": 18010
5028
+
},
5029
+
"The operand of a delete operator cannot be a private name.": {
5030
+
"category": "Error",
5031
+
"code": 18011
5032
+
},
5033
+
"'#constructor' is a reserved word.": {
5034
+
"category": "Error",
5035
+
"code": 18012
5036
+
},
5037
+
"Property '{0}' is not accessible outside class '{1}' because it has a private name.": {
5038
+
"category": "Error",
5039
+
"code": 18013
5040
+
},
5041
+
"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.": {
5042
+
"category": "Error",
5043
+
"code": 18014
5044
+
},
5045
+
"Property '{0}' is missing in type '{1}'. While type '{1}' has a private member with the same spelling, its declaration and accessibility are distinct.": {
5046
+
"category": "Error",
5047
+
"code": 18015
5048
+
},
5049
+
"Private names are not allowed outside class bodies.": {
0 commit comments