1{ 2 "Identifier expected.": { 3 "category": "Error", 4 "code": 1003 5 }, 6 "A rest parameter or binding pattern may not have a trailing comma.": { 7 "category": "Error", 8 "code": 1013 9 }, 10 "A rest parameter must be last in a parameter list.": { 11 "category": "Error", 12 "code": 1014 13 }, 14 "Parameter cannot have question mark and initializer.": { 15 "category": "Error", 16 "code": 1015 17 }, 18 "A required parameter cannot follow an optional parameter.": { 19 "category": "Error", 20 "code": 1016 21 }, 22 "The 'readonly' modifier can only appear on a property declaration or index signature.": { 23 "category": "Error", 24 "code": 1024 25 }, 26 "Accessibility modifier already seen.": { 27 "category": "Error", 28 "code": 1028 29 }, 30 "'{0}' modifier must precede '{1}' modifier.": { 31 "category": "Error", 32 "code": 1029 33 }, 34 "'{0}' modifier already seen.": { 35 "category": "Error", 36 "code": 1030 37 }, 38 "'{0}' modifier cannot appear on class elements of this kind.": { 39 "category": "Error", 40 "code": 1031 41 }, 42 "A 'declare' modifier cannot be used in an already ambient context.": { 43 "category": "Error", 44 "code": 1038 45 }, 46 "'{0}' modifier cannot be used in an ambient context.": { 47 "category": "Error", 48 "code": 1040 49 }, 50 "'{0}' modifier cannot be used here.": { 51 "category": "Error", 52 "code": 1042 53 }, 54 "'{0}' modifier cannot appear on a module or namespace element.": { 55 "category": "Error", 56 "code": 1044 57 }, 58 "A rest parameter cannot be optional.": { 59 "category": "Error", 60 "code": 1047 61 }, 62 "A rest parameter cannot have an initializer.": { 63 "category": "Error", 64 "code": 1048 65 }, 66 "'{0}' modifier cannot appear on a type member.": { 67 "category": "Error", 68 "code": 1070 69 }, 70 "'{0}' modifier cannot appear on an index signature.": { 71 "category": "Error", 72 "code": 1071 73 }, 74 "A '{0}' modifier cannot be used with an import declaration.": { 75 "category": "Error", 76 "code": 1079 77 }, 78 "'{0}' modifier cannot appear on a constructor declaration.": { 79 "category": "Error", 80 "code": 1089 81 }, 82 "'{0}' modifier cannot appear on a parameter.": { 83 "category": "Error", 84 "code": 1090 85 }, 86 "Only a single variable declaration is allowed in a 'for...in' statement.": { 87 "category": "Error", 88 "code": 1091 89 }, 90 "Invalid use of '{0}' in strict mode.": { 91 "category": "Error", 92 "code": 1100 93 }, 94 "A 'with' statements are not allowed in strict mode.": { 95 "category": "Error", 96 "code": 1101 97 }, 98 "A 'delete' cannot be called on an identifier in strict mode.": { 99 "category": "Error", 100 "code": 1102 101 }, 102 "A 'continue' statement can only be used within an enclosing iteration statement.": { 103 "category": "Error", 104 "code": 1104 105 }, 106 "A 'break' statement can only be used within an enclosing iteration or switch statement.": { 107 "category": "Error", 108 "code": 1105 109 }, 110 "Jump target cannot cross function boundary.": { 111 "category": "Error", 112 "code": 1107 113 }, 114 "A 'return' statement can only be used within a function body.": { 115 "category": "Error", 116 "code": 1108 117 }, 118 "A 'default' clause cannot appear more than once in a 'switch' statement.": { 119 "category": "Error", 120 "code": 1113 121 }, 122 "Duplicate label '{0}'.": { 123 "category": "Error", 124 "code": 1114 125 }, 126 "A 'continue' statement can only jump to a label of an enclosing iteration statement.": { 127 "category": "Error", 128 "code": 1115 129 }, 130 "A 'break' statement can only jump to a label of an enclosing statement.": { 131 "category": "Error", 132 "code": 1116 133 }, 134 "An object literal cannot have multiple properties with the same name in strict mode.": { 135 "category": "Error", 136 "code": 1117 137 }, 138 "An object literal cannot have multiple get/set accessors with the same name.": { 139 "category": "Error", 140 "code": 1118 141 }, 142 "An object literal cannot have property and accessor with the same name.": { 143 "category": "Error", 144 "code": 1119 145 }, 146 "An export assignment cannot have modifiers.": { 147 "category": "Error", 148 "code": 1120 149 }, 150 "Octal literals are not allowed in strict mode.": { 151 "category": "Error", 152 "code": 1121 153 }, 154 "Octal escape sequences are not allowed in strict mode.": { 155 "category": "Error", 156 "code": 1122 157 }, 158 "Variable declaration list cannot be empty.": { 159 "category": "Error", 160 "code": 1123 161 }, 162 "Line break not permitted here.": { 163 "category": "Error", 164 "code": 1142 165 }, 166 "Cannot use imports, exports, or module augmentations when '--module' is 'none'.": { 167 "category": "Error", 168 "code": 1148 169 }, 170 "The 'const' declarations can only be declared inside a block.": { 171 "category": "Error", 172 "code": 1156 173 }, 174 "The 'const' declarations must be initialized.": { 175 "category": "Error", 176 "code": 1155 177 }, 178 "The 'let' declarations can only be declared inside a block.": { 179 "category": "Error", 180 "code": 1157 181 }, 182 "Unterminated regular expression literal.": { 183 "category": "Error", 184 "code": 1161 185 }, 186 "An object member cannot be declared optional.": { 187 "category": "Error", 188 "code": 1162 189 }, 190 "A 'yield' expression is only allowed in a generator body.": { 191 "category": "Error", 192 "code": 1163 193 }, 194 "A comma expression is not allowed in a computed property name.": { 195 "category": "Error", 196 "code": 1171 197 }, 198 "The 'extends' clause already seen.": { 199 "category": "Error", 200 "code": 1172 201 }, 202 "Classes can only extend a single class.": { 203 "category": "Error", 204 "code": 1174 205 }, 206 "The 'implements' clause already seen.": { 207 "category": "Error", 208 "code": 1175 209 }, 210 "Property destructuring pattern expected.": { 211 "category": "Error", 212 "code": 1180 213 }, 214 "A destructuring declaration must have an initializer.": { 215 "category": "Error", 216 "code": 1182 217 }, 218 "A_rest_element_cannot_have_an_initializer.": { 219 "category": "Error", 220 "code": 1186 221 }, 222 "A parameter property may not be declared using a binding pattern.": { 223 "category": "Error", 224 "code": 1187 225 }, 226 "Only a single variable declaration is allowed in a 'for...of' statement.": { 227 "category": "Error", 228 "code": 1188 229 }, 230 "The variable declaration of a 'for...in' statement cannot have an initializer.": { 231 "category": "Error", 232 "code": 1189 233 }, 234 "The variable declaration of a 'for...of' statement cannot have an initializer.": { 235 "category": "Error", 236 "code": 1190 237 }, 238 "An import declaration cannot have modifiers.": { 239 "category": "Error", 240 "code": 1191 241 }, 242 "An export declaration cannot have modifiers.": { 243 "category": "Error", 244 "code": 1193 245 }, 246 "Line terminator not permitted before arrow.": { 247 "category": "Error", 248 "code": 1200 249 }, 250 "Decorators are not valid here.": { 251 "category": "Error", 252 "code": 1206 253 }, 254 "Decorators cannot be applied to multiple get/set accessors of the same name.": { 255 "category": "Error", 256 "code": 1207 257 }, 258 "Invalid use of '{0}'. Class definitions are automatically in strict mode.": { 259 "category": "Error", 260 "code": 1210 261 }, 262 "A class or function declaration without the 'default' modifier must have a name.": { 263 "category": "Error", 264 "code": 1211 265 }, 266 "Identifier expected. '{0}' is a reserved word in strict mode.": { 267 "category": "Error", 268 "code": 1212 269 }, 270 "Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.": { 271 "category": "Error", 272 "code": 1213 273 }, 274 "Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.": { 275 "category": "Error", 276 "code": 1214 277 }, 278 "An export assignment must be at the top level of a file or module declaration.": { 279 "category": "Error", 280 "code": 1231 281 }, 282 "An import declaration can only be used in a namespace or module.": { 283 "category": "Error", 284 "code": 1232 285 }, 286 "An export declaration can only be used in a module.": { 287 "category": "Error", 288 "code": 1233 289 }, 290 "The 'abstract' modifier can only appear on a class, method, or property declaration.": { 291 "category": "Error", 292 "code": 1242 293 }, 294 "'{0}' modifier cannot be used with '{1}' modifier.": { 295 "category": "Error", 296 "code": 1243 297 }, 298 "Abstract methods can only appear within an abstract class.": { 299 "category": "Error", 300 "code": 1244 301 }, 302 "A class member cannot have the '{0}' keyword.": { 303 "category": "Error", 304 "code": 1248 305 }, 306 "A decorator can only decorate a method implementation, not an overload.": { 307 "category": "Error", 308 "code": 1249 309 }, 310 "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.": { 311 "category": "Error", 312 "code": 1250 313 }, 314 "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.": { 315 "category": "Error", 316 "code": 1251 317 }, 318 "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.": { 319 "category": "Error", 320 "code": 1252 321 }, 322 "A definite assignment assertion '!' is not permitted in this context.": { 323 "category": "Error", 324 "code": 1255 325 }, 326 "Identifier expected. '{0}' is a reserved word at the top-level of a module.": { 327 "category": "Error", 328 "code": 1262 329 }, 330 "Declarations with initializers cannot also have definite assignment assertions.": { 331 "category": "Error", 332 "code": 1263 333 }, 334 "Declarations with definite assignment assertions must also have type annotations.": { 335 "category": "Error", 336 "code": 1264 337 }, 338 "await expressions are only allowed within async functions and at the top levels of modules.": { 339 "category": "Error", 340 "code": 1308 341 }, 342 "Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.": { 343 "category": "Error", 344 "code": 1312 345 }, 346 "A parameter property cannot be declared using a rest parameter.": { 347 "category": "Error", 348 "code": 1317 349 }, 350 "A default export can only be used in an ECMAScript-style module.": { 351 "category": "Error", 352 "code": 1319 353 }, 354 "Argument of dynamic import cannot be spread element.": { 355 "category": "Error", 356 "code": 1325 357 }, 358 "use strict directive cannot be used with non-simple parameter list.": { 359 "category": "Error", 360 "code": 1347 361 }, 362 "Identifier expected. '{0}' is a reserved word that cannot be used here.": { 363 "category": "Error", 364 "code": 1359 365 }, 366 "Dynamic imports can only accept a module specifier, optional assertion is not supported yet.": { 367 "category": "Error", 368 "code": 1450 369 }, 370 "Duplicate identifier '{0}'.": { 371 "category": "Error", 372 "code": 2300 373 }, 374 "Module '{0}' has no exported member '{1}'.": { 375 "category": "Error", 376 "code": 2305 377 }, 378 "Module '{0}' has already exported a member named '{1}'.": { 379 "category": "Error", 380 "code": 2308 381 }, 382 "An export assignment cannot be used in a module with other exported elements.": { 383 "category": "Error", 384 "code": 2309 385 }, 386 "The 'super' can only be referenced in a derived class.": { 387 "category": "Error", 388 "code": 2335 389 }, 390 "The 'super' cannot be referenced in constructor arguments.": { 391 "category": "Error", 392 "code": 2336 393 }, 394 "Super calls are not permitted outside constructors or in nested functions inside constructors.": { 395 "category": "Error", 396 "code": 2337 397 }, 398 "The 'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.": { 399 "category": "Error", 400 "code": 2338 401 }, 402 "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": { 403 "category": "Error", 404 "code": 2358 405 }, 406 "The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.": { 407 "category": "Error", 408 "code": 2359 409 }, 410 "The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.": { 411 "category": "Error", 412 "code": 2360 413 }, 414 "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": { 415 "category": "Error", 416 "code": 2361 417 }, 418 "The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": { 419 "category": "Error", 420 "code": 2362 421 }, 422 "The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": { 423 "category": "Error", 424 "code": 2363 425 }, 426 "The left-hand side of an assignment expression must be a variable or a property access.": { 427 "category": "Error", 428 "code": 2364 429 }, 430 "Multiple constructor implementations are not allowed.": { 431 "category": "Error", 432 "code": 2392 433 }, 434 "Declaration name conflicts with built-in global identifier '{0}'.": { 435 "category": "Error", 436 "code": 2397 437 }, 438 "The left-hand side of a 'for...in' statement cannot use a type annotation.": { 439 "category": "Error", 440 "code": 2404 441 }, 442 "Import declaration conflicts with local declaration of '{0}'.": { 443 "category": "Error", 444 "code": 2440 445 }, 446 "The 'super' cannot be referenced in a computed property name.": { 447 "category": "Error", 448 "code": 2466 449 }, 450 "A rest element must be last in a destructuring pattern.": { 451 "category": "Error", 452 "code": 2462 453 }, 454 "The 'let' is not allowed to be used as a name in 'let' or 'const' declarations.": { 455 "category": "Error", 456 "code": 2480 457 }, 458 "The left-hand side of a 'for...of' statement cannot use a type annotation.": { 459 "category": "Error", 460 "code": 2483 461 }, 462 "The left-hand side of a 'for...of' statement must be a variable or a property access.": { 463 "category": "Error", 464 "code": 2487 465 }, 466 "The left-hand side of a 'for...in' statement cannot be a destructuring pattern.": { 467 "category": "Error", 468 "code": 2491 469 }, 470 "A rest element cannot contain a binding pattern.": { 471 "category": "Error", 472 "code": 2501 473 }, 474 "A module cannot have multiple default exports.": { 475 "category": "Error", 476 "code": 2528 477 }, 478 "The 'super' can only be referenced in members of derived classes or object literal expressions.": { 479 "category": "Error", 480 "code": 2660 481 }, 482 "Cannot export '{0}'. Only local declarations can be exported from a module.": { 483 "category": "Error", 484 "code": 2661 485 }, 486 "Left side of comma operator is unused and has no side effects.": { 487 "category": "Error", 488 "code": 2695, 489 "reportsUnnecessary": true 490 }, 491 "The target of an object rest assignment must be a variable or a property access.": { 492 "category": "Error", 493 "code": 2701 494 }, 495 "The target of an object rest assignment may not be an optional property access.": { 496 "category": "Error", 497 "code": 2778 498 }, 499 "The left-hand side of an assignment expression may not be an optional property access.": { 500 "category": "Error", 501 "code": 2779 502 }, 503 "The left-hand side of a 'for...of' statement may not be an optional property access.": { 504 "category": "Error", 505 "code": 2781 506 }, 507 "'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?": { 508 "category": "Error", 509 "code": 17012 510 }, 511 "Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor.": { 512 "category": "Error", 513 "code": 17013 514 }, 515 "An accessibility modifier cannot be used with a private identifier.": { 516 "category": "Error", 517 "code": 18010 518 }, 519 "Private identifiers are not allowed outside class bodies.": { 520 "category": "Error", 521 "code": 18016 522 }, 523 "'{0}' modifier cannot be used with a private identifier.": { 524 "category": "Error", 525 "code": 18019 526 }, 527 "In strict mode code, functions can only be declared at top level or inside a block.": { 528 "category": "Error", 529 "code": 19000 530 }, 531 "Class Declaration can only be declared at top level or inside a block.": { 532 "category": "Error", 533 "code": 19001 534 }, 535 "Incorrect regular expression": { 536 "category": "Error", 537 "code": 19002 538 }, 539 "Invalid regular expression: '{0}': Invalid escape": { 540 "category": "Error", 541 "code": 19003 542 }, 543 "\\8 and \\9 are not allowed in strict mode": { 544 "category": "Error", 545 "code": 19004 546 }, 547 "const and let declarations not allowed in statement positions": { 548 "category": "Error", 549 "code": 19005 550 }, 551 "Getter must not have any formal parameters": { 552 "category": "Error", 553 "code": 19006 554 }, 555 "Class declaration not allowed in statement position": { 556 "category": "Error", 557 "code": 19007 558 }, 559 "Lexical declaration 'let' not allowed in statement position": { 560 "category": "Error", 561 "code": 19008 562 }, 563 "Lexical declaration 'const' not allowed in statement position": { 564 "category": "Error", 565 "code": 19009 566 }, 567 "Invalid regular expression flag '{0}'": { 568 "category": "Error", 569 "code": 19010 570 }, 571 "Unexpected eval or arguments in strict mode": { 572 "category": "Error", 573 "code": 20000 574 } 575}