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
@@ -5193,6 +5193,33 @@
5193
5193
"Private names cannot be used as parameters": {
5194
5194
"category": "Error",
5195
5195
"code": 18009
5196
+
},
5197
+
"Accessibility modifiers cannot be used with private names.": {
5198
+
"category": "Error",
5199
+
"code": 18010
5200
+
},
5201
+
"The operand of a delete operator cannot be a private name.": {
5202
+
"category": "Error",
5203
+
"code": 18011
5204
+
},
5205
+
"'#constructor' is a reserved word.": {
5206
+
"category": "Error",
5207
+
"code": 18012
5208
+
},
5209
+
"Property '{0}' is not accessible outside class '{1}' because it has a private name.": {
5210
+
"category": "Error",
5211
+
"code": 18013
5212
+
},
5213
+
"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.": {
5214
+
"category": "Error",
5215
+
"code": 18014
5216
+
},
5217
+
"Property '{0}' is missing in type '{1}'. While type '{1}' has a private member with the same spelling, its declaration and accessibility are distinct.": {
5218
+
"category": "Error",
5219
+
"code": 18015
5220
+
},
5221
+
"Private names are not allowed outside class bodies.": {
0 commit comments