|
483 | 483 | "category": "Error", |
484 | 484 | "code": 1164 |
485 | 485 | }, |
486 | | - "Computed property names are not allowed in an ambient context.": { |
| 486 | + "A computed property name in an ambient context must directly refer to a built-in symbol.": { |
487 | 487 | "category": "Error", |
488 | 488 | "code": 1165 |
489 | 489 | }, |
490 | | - "Computed property names are not allowed in class property declarations.": { |
| 490 | + "A computed property name in a class property declaration must directly refer to a built-in symbol.": { |
491 | 491 | "category": "Error", |
492 | 492 | "code": 1166 |
493 | 493 | }, |
494 | 494 | "Computed property names are only available when targeting ECMAScript 6 and higher.": { |
495 | 495 | "category": "Error", |
496 | 496 | "code": 1167 |
497 | 497 | }, |
498 | | - "Computed property names are not allowed in method overloads.": { |
| 498 | + "A computed property name in a method overload must directly refer to a built-in symbol.": { |
499 | 499 | "category": "Error", |
500 | 500 | "code": 1168 |
501 | 501 | }, |
502 | | - "Computed property names are not allowed in interfaces.": { |
| 502 | + "A computed property name in an interface must directly refer to a built-in symbol.": { |
503 | 503 | "category": "Error", |
504 | 504 | "code": 1169 |
505 | 505 | }, |
506 | | - "Computed property names are not allowed in type literals.": { |
| 506 | + "A computed property name in a type literal must directly refer to a built-in symbol.": { |
507 | 507 | "category": "Error", |
508 | 508 | "code": 1170 |
509 | 509 | }, |
|
656 | 656 | "category": "Error", |
657 | 657 | "code": 2318 |
658 | 658 | }, |
659 | | - "Named properties '{0}' of types '{1}' and '{2}' are not identical.": { |
| 659 | + "Named property '{0}' of types '{1}' and '{2}' are not identical.": { |
660 | 660 | "category": "Error", |
661 | 661 | "code": 2319 |
662 | 662 | }, |
|
744 | 744 | "category": "Error", |
745 | 745 | "code": 2341 |
746 | 746 | }, |
747 | | - "An index expression argument must be of type 'string', 'number', or 'any'.": { |
| 747 | + "An index expression argument must be of type 'string', 'number', 'symbol, or 'any'.": { |
748 | 748 | "category": "Error", |
749 | 749 | "code": 2342 |
750 | 750 | }, |
|
808 | 808 | "category": "Error", |
809 | 809 | "code": 2359 |
810 | 810 | }, |
811 | | - "The left-hand side of an 'in' expression must be of types 'any', 'string' or 'number'.": { |
| 811 | + "The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.": { |
812 | 812 | "category": "Error", |
813 | 813 | "code": 2360 |
814 | 814 | }, |
|
1188 | 1188 | "category": "Error", |
1189 | 1189 | "code": 2463 |
1190 | 1190 | }, |
1191 | | - "A computed property name must be of type 'string', 'number', or 'any'.": { |
| 1191 | + "A computed property name must be of type 'string', 'number', 'symbol', or 'any'.": { |
1192 | 1192 | "category": "Error", |
1193 | 1193 | "code": 2464 |
1194 | 1194 | }, |
|
1202 | 1202 | }, |
1203 | 1203 | "A computed property name cannot reference a type parameter from its containing type.": { |
1204 | 1204 | "category": "Error", |
1205 | | - "code": 2466 |
| 1205 | + "code": 2467 |
1206 | 1206 | }, |
1207 | | - "Spread operator in 'new' expressions is only available when targeting ECMAScript 6 and higher.": { |
| 1207 | + "Cannot find global value '{0}'.": { |
1208 | 1208 | "category": "Error", |
1209 | 1209 | "code": 2468 |
1210 | 1210 | }, |
1211 | | - "Enum declarations must all be const or non-const.": { |
| 1211 | + "The '{0}' operator cannot be applied to type 'symbol'.": { |
1212 | 1212 | "category": "Error", |
1213 | 1213 | "code": 2469 |
1214 | 1214 | }, |
1215 | | - "In 'const' enum declarations member initializer must be constant expression.": { |
| 1215 | + "'Symbol' reference does not refer to the global Symbol constructor object.": { |
1216 | 1216 | "category": "Error", |
1217 | 1217 | "code": 2470 |
1218 | 1218 | }, |
1219 | | - "'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment.": { |
| 1219 | + "A computed property name of the form '{0}' must be of type 'symbol'.": { |
1220 | 1220 | "category": "Error", |
1221 | 1221 | "code": 2471 |
1222 | 1222 | }, |
1223 | | - "A const enum member can only be accessed using a string literal.": { |
| 1223 | + "Spread operator in 'new' expressions is only available when targeting ECMAScript 6 and higher.": { |
1224 | 1224 | "category": "Error", |
1225 | 1225 | "code": 2472 |
1226 | 1226 | }, |
1227 | | - "'const' enum member initializer was evaluated to a non-finite value.": { |
| 1227 | + "Enum declarations must all be const or non-const.": { |
1228 | 1228 | "category": "Error", |
1229 | 1229 | "code": 2473 |
1230 | 1230 | }, |
1231 | | - "'const' enum member initializer was evaluated to disallowed value 'NaN'.": { |
| 1231 | + "In 'const' enum declarations member initializer must be constant expression.": { |
1232 | 1232 | "category": "Error", |
1233 | 1233 | "code": 2474 |
1234 | 1234 | }, |
1235 | | - "Property '{0}' does not exist on 'const' enum '{1}'.": { |
| 1235 | + "'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment.": { |
1236 | 1236 | "category": "Error", |
1237 | 1237 | "code": 2475 |
1238 | 1238 | }, |
1239 | | - "'let' is not allowed to be used as a name in 'let' or 'const' declarations.": { |
| 1239 | + "A const enum member can only be accessed using a string literal.": { |
1240 | 1240 | "category": "Error", |
1241 | 1241 | "code": 2476 |
1242 | 1242 | }, |
1243 | | - "Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.": { |
| 1243 | + "'const' enum member initializer was evaluated to a non-finite value.": { |
1244 | 1244 | "category": "Error", |
1245 | 1245 | "code": 2477 |
1246 | 1246 | }, |
| 1247 | + "'const' enum member initializer was evaluated to disallowed value 'NaN'.": { |
| 1248 | + "category": "Error", |
| 1249 | + "code": 2478 |
| 1250 | + }, |
| 1251 | + "Property '{0}' does not exist on 'const' enum '{1}'.": { |
| 1252 | + "category": "Error", |
| 1253 | + "code": 2479 |
| 1254 | + }, |
| 1255 | + "'let' is not allowed to be used as a name in 'let' or 'const' declarations.": { |
| 1256 | + "category": "Error", |
| 1257 | + "code": 2480 |
| 1258 | + }, |
| 1259 | + "Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.": { |
| 1260 | + "category": "Error", |
| 1261 | + "code": 2481 |
| 1262 | + }, |
1247 | 1263 |
|
1248 | 1264 | "Import declaration '{0}' is using private name '{1}'.": { |
1249 | 1265 | "category": "Error", |
|
0 commit comments