1{ 2 "Unterminated string literal.": { 3 "category": "Error", 4 "code": 1002 5 }, 6 "Identifier expected.": { 7 "category": "Error", 8 "code": 1003 9 }, 10 "'{0}' expected.": { 11 "category": "Error", 12 "code": 1005 13 }, 14 "A file cannot have a reference to itself.": { 15 "category": "Error", 16 "code": 1006 17 }, 18 "The parser expected to find a '{1}' to match the '{0}' token here.": { 19 "category": "Error", 20 "code": 1007 21 }, 22 "Trailing comma not allowed.": { 23 "category": "Error", 24 "code": 1009 25 }, 26 "'*/' expected.": { 27 "category": "Error", 28 "code": 1010 29 }, 30 "An element access expression should take an argument.": { 31 "category": "Error", 32 "code": 1011 33 }, 34 "Unexpected token.": { 35 "category": "Error", 36 "code": 1012 37 }, 38 "A rest parameter or binding pattern may not have a trailing comma.": { 39 "category": "Error", 40 "code": 1013 41 }, 42 "A rest parameter must be last in a parameter list.": { 43 "category": "Error", 44 "code": 1014 45 }, 46 "Parameter cannot have question mark and initializer.": { 47 "category": "Error", 48 "code": 1015 49 }, 50 "A required parameter cannot follow an optional parameter.": { 51 "category": "Error", 52 "code": 1016 53 }, 54 "An index signature cannot have a rest parameter.": { 55 "category": "Error", 56 "code": 1017 57 }, 58 "An index signature parameter cannot have an accessibility modifier.": { 59 "category": "Error", 60 "code": 1018 61 }, 62 "An index signature parameter cannot have a question mark.": { 63 "category": "Error", 64 "code": 1019 65 }, 66 "An index signature parameter cannot have an initializer.": { 67 "category": "Error", 68 "code": 1020 69 }, 70 "An index signature must have a type annotation.": { 71 "category": "Error", 72 "code": 1021 73 }, 74 "An index signature parameter must have a type annotation.": { 75 "category": "Error", 76 "code": 1022 77 }, 78 "'readonly' modifier can only appear on a property declaration or index signature.": { 79 "category": "Error", 80 "code": 1024 81 }, 82 "An index signature cannot have a trailing comma.": { 83 "category": "Error", 84 "code": 1025 85 }, 86 "Accessibility modifier already seen.": { 87 "category": "Error", 88 "code": 1028 89 }, 90 "'{0}' modifier must precede '{1}' modifier.": { 91 "category": "Error", 92 "code": 1029 93 }, 94 "'{0}' modifier already seen.": { 95 "category": "Error", 96 "code": 1030 97 }, 98 "'{0}' modifier cannot appear on class elements of this kind.": { 99 "category": "Error", 100 "code": 1031 101 }, 102 "'super' must be followed by an argument list or member access.": { 103 "category": "Error", 104 "code": 1034 105 }, 106 "Only ambient modules can use quoted names.": { 107 "category": "Error", 108 "code": 1035 109 }, 110 "Statements are not allowed in ambient contexts.": { 111 "category": "Error", 112 "code": 1036 113 }, 114 "A 'declare' modifier cannot be used in an already ambient context.": { 115 "category": "Error", 116 "code": 1038 117 }, 118 "Initializers are not allowed in ambient contexts.": { 119 "category": "Error", 120 "code": 1039 121 }, 122 "'{0}' modifier cannot be used in an ambient context.": { 123 "category": "Error", 124 "code": 1040 125 }, 126 "'{0}' modifier cannot be used here.": { 127 "category": "Error", 128 "code": 1042 129 }, 130 "'{0}' modifier cannot appear on a module or namespace element.": { 131 "category": "Error", 132 "code": 1044 133 }, 134 "Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.": { 135 "category": "Error", 136 "code": 1046 137 }, 138 "A rest parameter cannot be optional.": { 139 "category": "Error", 140 "code": 1047 141 }, 142 "A rest parameter cannot have an initializer.": { 143 "category": "Error", 144 "code": 1048 145 }, 146 "A 'set' accessor must have exactly one parameter.": { 147 "category": "Error", 148 "code": 1049 149 }, 150 "A 'set' accessor cannot have an optional parameter.": { 151 "category": "Error", 152 "code": 1051 153 }, 154 "A 'set' accessor parameter cannot have an initializer.": { 155 "category": "Error", 156 "code": 1052 157 }, 158 "A 'set' accessor cannot have rest parameter.": { 159 "category": "Error", 160 "code": 1053 161 }, 162 "A 'get' accessor cannot have parameters.": { 163 "category": "Error", 164 "code": 1054 165 }, 166 "Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.": { 167 "category": "Error", 168 "code": 1055 169 }, 170 "Accessors are only available when targeting ECMAScript 5 and higher.": { 171 "category": "Error", 172 "code": 1056 173 }, 174 "The return type of an async function must either be a valid promise or must not contain a callable 'then' member.": { 175 "category": "Error", 176 "code": 1058 177 }, 178 "A promise must have a 'then' method.": { 179 "category": "Error", 180 "code": 1059 181 }, 182 "The first parameter of the 'then' method of a promise must be a callback.": { 183 "category": "Error", 184 "code": 1060 185 }, 186 "Enum member must have initializer.": { 187 "category": "Error", 188 "code": 1061 189 }, 190 "Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method.": { 191 "category": "Error", 192 "code": 1062 193 }, 194 "An export assignment cannot be used in a namespace.": { 195 "category": "Error", 196 "code": 1063 197 }, 198 "The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?": { 199 "category": "Error", 200 "code": 1064 201 }, 202 "In ambient enum declarations member initializer must be constant expression.": { 203 "category": "Error", 204 "code": 1066 205 }, 206 "Unexpected token. A constructor, method, accessor, or property was expected.": { 207 "category": "Error", 208 "code": 1068 209 }, 210 "Unexpected token. A type parameter name was expected without curly braces.": { 211 "category": "Error", 212 "code": 1069 213 }, 214 "'{0}' modifier cannot appear on a type member.": { 215 "category": "Error", 216 "code": 1070 217 }, 218 "'{0}' modifier cannot appear on an index signature.": { 219 "category": "Error", 220 "code": 1071 221 }, 222 "A '{0}' modifier cannot be used with an import declaration.": { 223 "category": "Error", 224 "code": 1079 225 }, 226 "Invalid 'reference' directive syntax.": { 227 "category": "Error", 228 "code": 1084 229 }, 230 "Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'.": { 231 "category": "Error", 232 "code": 1085 233 }, 234 "'{0}' modifier cannot appear on a constructor declaration.": { 235 "category": "Error", 236 "code": 1089 237 }, 238 "'{0}' modifier cannot appear on a parameter.": { 239 "category": "Error", 240 "code": 1090 241 }, 242 "Only a single variable declaration is allowed in a 'for...in' statement.": { 243 "category": "Error", 244 "code": 1091 245 }, 246 "Type parameters cannot appear on a constructor declaration.": { 247 "category": "Error", 248 "code": 1092 249 }, 250 "Type annotation cannot appear on a constructor declaration.": { 251 "category": "Error", 252 "code": 1093 253 }, 254 "An accessor cannot have type parameters.": { 255 "category": "Error", 256 "code": 1094 257 }, 258 "A 'set' accessor cannot have a return type annotation.": { 259 "category": "Error", 260 "code": 1095 261 }, 262 "An index signature must have exactly one parameter.": { 263 "category": "Error", 264 "code": 1096 265 }, 266 "'{0}' list cannot be empty.": { 267 "category": "Error", 268 "code": 1097 269 }, 270 "Type parameter list cannot be empty.": { 271 "category": "Error", 272 "code": 1098 273 }, 274 "Type argument list cannot be empty.": { 275 "category": "Error", 276 "code": 1099 277 }, 278 "Invalid use of '{0}' in strict mode.": { 279 "category": "Error", 280 "code": 1100 281 }, 282 "'with' statements are not allowed in strict mode.": { 283 "category": "Error", 284 "code": 1101 285 }, 286 "'delete' cannot be called on an identifier in strict mode.": { 287 "category": "Error", 288 "code": 1102 289 }, 290 "'for await' loops are only allowed within async functions and at the top levels of modules.": { 291 "category": "Error", 292 "code": 1103 293 }, 294 "A 'continue' statement can only be used within an enclosing iteration statement.": { 295 "category": "Error", 296 "code": 1104 297 }, 298 "A 'break' statement can only be used within an enclosing iteration or switch statement.": { 299 "category": "Error", 300 "code": 1105 301 }, 302 "The left-hand side of a 'for...of' statement may not be 'async'.": { 303 "category": "Error", 304 "code": 1106 305 }, 306 "Jump target cannot cross function boundary.": { 307 "category": "Error", 308 "code": 1107 309 }, 310 "A 'return' statement can only be used within a function body.": { 311 "category": "Error", 312 "code": 1108 313 }, 314 "Expression expected.": { 315 "category": "Error", 316 "code": 1109 317 }, 318 "Type expected.": { 319 "category": "Error", 320 "code": 1110 321 }, 322 "A 'default' clause cannot appear more than once in a 'switch' statement.": { 323 "category": "Error", 324 "code": 1113 325 }, 326 "Duplicate label '{0}'.": { 327 "category": "Error", 328 "code": 1114 329 }, 330 "A 'continue' statement can only jump to a label of an enclosing iteration statement.": { 331 "category": "Error", 332 "code": 1115 333 }, 334 "A 'break' statement can only jump to a label of an enclosing statement.": { 335 "category": "Error", 336 "code": 1116 337 }, 338 "An object literal cannot have multiple properties with the same name.": { 339 "category": "Error", 340 "code": 1117 341 }, 342 "An object literal cannot have multiple get/set accessors with the same name.": { 343 "category": "Error", 344 "code": 1118 345 }, 346 "An object literal cannot have property and accessor with the same name.": { 347 "category": "Error", 348 "code": 1119 349 }, 350 "An export assignment cannot have modifiers.": { 351 "category": "Error", 352 "code": 1120 353 }, 354 "Octal literals are not allowed in strict mode.": { 355 "category": "Error", 356 "code": 1121 357 }, 358 "Variable declaration list cannot be empty.": { 359 "category": "Error", 360 "code": 1123 361 }, 362 "Digit expected.": { 363 "category": "Error", 364 "code": 1124 365 }, 366 "Hexadecimal digit expected.": { 367 "category": "Error", 368 "code": 1125 369 }, 370 "Unexpected end of text.": { 371 "category": "Error", 372 "code": 1126 373 }, 374 "Invalid character.": { 375 "category": "Error", 376 "code": 1127 377 }, 378 "Declaration or statement expected.": { 379 "category": "Error", 380 "code": 1128 381 }, 382 "Statement expected.": { 383 "category": "Error", 384 "code": 1129 385 }, 386 "'case' or 'default' expected.": { 387 "category": "Error", 388 "code": 1130 389 }, 390 "Property or signature expected.": { 391 "category": "Error", 392 "code": 1131 393 }, 394 "Enum member expected.": { 395 "category": "Error", 396 "code": 1132 397 }, 398 "Variable declaration expected.": { 399 "category": "Error", 400 "code": 1134 401 }, 402 "Argument expression expected.": { 403 "category": "Error", 404 "code": 1135 405 }, 406 "Property assignment expected.": { 407 "category": "Error", 408 "code": 1136 409 }, 410 "Expression or comma expected.": { 411 "category": "Error", 412 "code": 1137 413 }, 414 "Parameter declaration expected.": { 415 "category": "Error", 416 "code": 1138 417 }, 418 "Type parameter declaration expected.": { 419 "category": "Error", 420 "code": 1139 421 }, 422 "Type argument expected.": { 423 "category": "Error", 424 "code": 1140 425 }, 426 "String literal expected.": { 427 "category": "Error", 428 "code": 1141 429 }, 430 "Line break not permitted here.": { 431 "category": "Error", 432 "code": 1142 433 }, 434 "'{' or ';' expected.": { 435 "category": "Error", 436 "code": 1144 437 }, 438 "'{' or JSX element expected.": { 439 "category": "Error", 440 "code": 1145 441 }, 442 "Declaration expected.": { 443 "category": "Error", 444 "code": 1146 445 }, 446 "Import declarations in a namespace cannot reference a module.": { 447 "category": "Error", 448 "code": 1147 449 }, 450 "Cannot use imports, exports, or module augmentations when '--module' is 'none'.": { 451 "category": "Error", 452 "code": 1148 453 }, 454 "File name '{0}' differs from already included file name '{1}' only in casing.": { 455 "category": "Error", 456 "code": 1149 457 }, 458 "'const' declarations must be initialized.": { 459 "category": "Error", 460 "code": 1155 461 }, 462 "'const' declarations can only be declared inside a block.": { 463 "category": "Error", 464 "code": 1156 465 }, 466 "'let' declarations can only be declared inside a block.": { 467 "category": "Error", 468 "code": 1157 469 }, 470 "Unterminated template literal.": { 471 "category": "Error", 472 "code": 1160 473 }, 474 "Unterminated regular expression literal.": { 475 "category": "Error", 476 "code": 1161 477 }, 478 "An object member cannot be declared optional.": { 479 "category": "Error", 480 "code": 1162 481 }, 482 "A 'yield' expression is only allowed in a generator body.": { 483 "category": "Error", 484 "code": 1163 485 }, 486 "Computed property names are not allowed in enums.": { 487 "category": "Error", 488 "code": 1164 489 }, 490 "A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.": { 491 "category": "Error", 492 "code": 1165 493 }, 494 "A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type.": { 495 "category": "Error", 496 "code": 1166 497 }, 498 "A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.": { 499 "category": "Error", 500 "code": 1168 501 }, 502 "A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.": { 503 "category": "Error", 504 "code": 1169 505 }, 506 "A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.": { 507 "category": "Error", 508 "code": 1170 509 }, 510 "A comma expression is not allowed in a computed property name.": { 511 "category": "Error", 512 "code": 1171 513 }, 514 "'extends' clause already seen.": { 515 "category": "Error", 516 "code": 1172 517 }, 518 "'extends' clause must precede 'implements' clause.": { 519 "category": "Error", 520 "code": 1173 521 }, 522 "Classes can only extend a single class.": { 523 "category": "Error", 524 "code": 1174 525 }, 526 "'implements' clause already seen.": { 527 "category": "Error", 528 "code": 1175 529 }, 530 "Interface declaration cannot have 'implements' clause.": { 531 "category": "Error", 532 "code": 1176 533 }, 534 "Binary digit expected.": { 535 "category": "Error", 536 "code": 1177 537 }, 538 "Octal digit expected.": { 539 "category": "Error", 540 "code": 1178 541 }, 542 "Unexpected token. '{' expected.": { 543 "category": "Error", 544 "code": 1179 545 }, 546 "Property destructuring pattern expected.": { 547 "category": "Error", 548 "code": 1180 549 }, 550 "Array element destructuring pattern expected.": { 551 "category": "Error", 552 "code": 1181 553 }, 554 "A destructuring declaration must have an initializer.": { 555 "category": "Error", 556 "code": 1182 557 }, 558 "An implementation cannot be declared in ambient contexts.": { 559 "category": "Error", 560 "code": 1183 561 }, 562 "Modifiers cannot appear here.": { 563 "category": "Error", 564 "code": 1184 565 }, 566 "Merge conflict marker encountered.": { 567 "category": "Error", 568 "code": 1185 569 }, 570 "A rest element cannot have an initializer.": { 571 "category": "Error", 572 "code": 1186 573 }, 574 "A parameter property may not be declared using a binding pattern.": { 575 "category": "Error", 576 "code": 1187 577 }, 578 "Only a single variable declaration is allowed in a 'for...of' statement.": { 579 "category": "Error", 580 "code": 1188 581 }, 582 "The variable declaration of a 'for...in' statement cannot have an initializer.": { 583 "category": "Error", 584 "code": 1189 585 }, 586 "The variable declaration of a 'for...of' statement cannot have an initializer.": { 587 "category": "Error", 588 "code": 1190 589 }, 590 "An import declaration cannot have modifiers.": { 591 "category": "Error", 592 "code": 1191 593 }, 594 "Module '{0}' has no default export.": { 595 "category": "Error", 596 "code": 1192 597 }, 598 "An export declaration cannot have modifiers.": { 599 "category": "Error", 600 "code": 1193 601 }, 602 "Export declarations are not permitted in a namespace.": { 603 "category": "Error", 604 "code": 1194 605 }, 606 "'export *' does not re-export a default.": { 607 "category": "Error", 608 "code": 1195 609 }, 610 "Catch clause variable type annotation must be 'any' or 'unknown' if specified.": { 611 "category": "Error", 612 "code": 1196 613 }, 614 "Catch clause variable cannot have an initializer.": { 615 "category": "Error", 616 "code": 1197 617 }, 618 "An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.": { 619 "category": "Error", 620 "code": 1198 621 }, 622 "Unterminated Unicode escape sequence.": { 623 "category": "Error", 624 "code": 1199 625 }, 626 "Line terminator not permitted before arrow.": { 627 "category": "Error", 628 "code": 1200 629 }, 630 "Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.": { 631 "category": "Error", 632 "code": 1202 633 }, 634 "Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.": { 635 "category": "Error", 636 "code": 1203 637 }, 638 "Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.": { 639 "category": "Error", 640 "code": 1205 641 }, 642 "Decorators are not valid here.": { 643 "category": "Error", 644 "code": 1206 645 }, 646 "Decorators cannot be applied to multiple get/set accessors of the same name.": { 647 "category": "Error", 648 "code": 1207 649 }, 650 "'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.": { 651 "category": "Error", 652 "code": 1208 653 }, 654 "Invalid optional chain from new expression. Did you mean to call '{0}()'?": { 655 "category": "Error", 656 "code": 1209 657 }, 658 "Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.": { 659 "category": "Error", 660 "code": 1210 661 }, 662 "A class declaration without the 'default' modifier must have a name.": { 663 "category": "Error", 664 "code": 1211 665 }, 666 "Identifier expected. '{0}' is a reserved word in strict mode.": { 667 "category": "Error", 668 "code": 1212 669 }, 670 "Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.": { 671 "category": "Error", 672 "code": 1213 673 }, 674 "Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.": { 675 "category": "Error", 676 "code": 1214 677 }, 678 "Invalid use of '{0}'. Modules are automatically in strict mode.": { 679 "category": "Error", 680 "code": 1215 681 }, 682 "Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules.": { 683 "category": "Error", 684 "code": 1216 685 }, 686 "Export assignment is not supported when '--module' flag is 'system'.": { 687 "category": "Error", 688 "code": 1218 689 }, 690 "Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.": { 691 "category": "Error", 692 "code": 1219 693 }, 694 "Generators are not allowed in an ambient context.": { 695 "category": "Error", 696 "code": 1221 697 }, 698 "An overload signature cannot be declared as a generator.": { 699 "category": "Error", 700 "code": 1222 701 }, 702 "'{0}' tag already specified.": { 703 "category": "Error", 704 "code": 1223 705 }, 706 "Signature '{0}' must be a type predicate.": { 707 "category": "Error", 708 "code": 1224 709 }, 710 "Cannot find parameter '{0}'.": { 711 "category": "Error", 712 "code": 1225 713 }, 714 "Type predicate '{0}' is not assignable to '{1}'.": { 715 "category": "Error", 716 "code": 1226 717 }, 718 "Parameter '{0}' is not in the same position as parameter '{1}'.": { 719 "category": "Error", 720 "code": 1227 721 }, 722 "A type predicate is only allowed in return type position for functions and methods.": { 723 "category": "Error", 724 "code": 1228 725 }, 726 "A type predicate cannot reference a rest parameter.": { 727 "category": "Error", 728 "code": 1229 729 }, 730 "A type predicate cannot reference element '{0}' in a binding pattern.": { 731 "category": "Error", 732 "code": 1230 733 }, 734 "An export assignment must be at the top level of a file or module declaration.": { 735 "category": "Error", 736 "code": 1231 737 }, 738 "An import declaration can only be used at the top level of a namespace or module.": { 739 "category": "Error", 740 "code": 1232 741 }, 742 "An export declaration can only be used at the top level of a namespace or module.": { 743 "category": "Error", 744 "code": 1233 745 }, 746 "An ambient module declaration is only allowed at the top level in a file.": { 747 "category": "Error", 748 "code": 1234 749 }, 750 "A namespace declaration is only allowed at the top level of a namespace or module.": { 751 "category": "Error", 752 "code": 1235 753 }, 754 "The return type of a property decorator function must be either 'void' or 'any'.": { 755 "category": "Error", 756 "code": 1236 757 }, 758 "The return type of a parameter decorator function must be either 'void' or 'any'.": { 759 "category": "Error", 760 "code": 1237 761 }, 762 "Unable to resolve signature of class decorator when called as an expression.": { 763 "category": "Error", 764 "code": 1238 765 }, 766 "Unable to resolve signature of parameter decorator when called as an expression.": { 767 "category": "Error", 768 "code": 1239 769 }, 770 "Unable to resolve signature of property decorator when called as an expression.": { 771 "category": "Error", 772 "code": 1240 773 }, 774 "Unable to resolve signature of method decorator when called as an expression.": { 775 "category": "Error", 776 "code": 1241 777 }, 778 "'abstract' modifier can only appear on a class, method, or property declaration.": { 779 "category": "Error", 780 "code": 1242 781 }, 782 "'{0}' modifier cannot be used with '{1}' modifier.": { 783 "category": "Error", 784 "code": 1243 785 }, 786 "Abstract methods can only appear within an abstract class.": { 787 "category": "Error", 788 "code": 1244 789 }, 790 "Method '{0}' cannot have an implementation because it is marked abstract.": { 791 "category": "Error", 792 "code": 1245 793 }, 794 "An interface property cannot have an initializer.": { 795 "category": "Error", 796 "code": 1246 797 }, 798 "A type literal property cannot have an initializer.": { 799 "category": "Error", 800 "code": 1247 801 }, 802 "A class member cannot have the '{0}' keyword.": { 803 "category": "Error", 804 "code": 1248 805 }, 806 "A decorator can only decorate a method implementation, not an overload.": { 807 "category": "Error", 808 "code": 1249 809 }, 810 "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.": { 811 "category": "Error", 812 "code": 1250 813 }, 814 "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.": { 815 "category": "Error", 816 "code": 1251 817 }, 818 "Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.": { 819 "category": "Error", 820 "code": 1252 821 }, 822 "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.": { 823 "category": "Error", 824 "code": 1254 825 }, 826 "A definite assignment assertion '!' is not permitted in this context.": { 827 "category": "Error", 828 "code": 1255 829 }, 830 "A required element cannot follow an optional element.": { 831 "category": "Error", 832 "code": 1257 833 }, 834 "A default export must be at the top level of a file or module declaration.": { 835 "category": "Error", 836 "code": 1258 837 }, 838 "Module '{0}' can only be default-imported using the '{1}' flag": { 839 "category": "Error", 840 "code": 1259 841 }, 842 "Keywords cannot contain escape characters.": { 843 "category": "Error", 844 "code": 1260 845 }, 846 "Already included file name '{0}' differs from file name '{1}' only in casing.": { 847 "category": "Error", 848 "code": 1261 849 }, 850 "Identifier expected. '{0}' is a reserved word at the top-level of a module.": { 851 "category": "Error", 852 "code": 1262 853 }, 854 "Declarations with initializers cannot also have definite assignment assertions.": { 855 "category": "Error", 856 "code": 1263 857 }, 858 "Declarations with definite assignment assertions must also have type annotations.": { 859 "category": "Error", 860 "code": 1264 861 }, 862 "A rest element cannot follow another rest element.": { 863 "category": "Error", 864 "code": 1265 865 }, 866 "An optional element cannot follow a rest element.": { 867 "category": "Error", 868 "code": 1266 869 }, 870 "Property '{0}' cannot have an initializer because it is marked abstract.": { 871 "category": "Error", 872 "code": 1267 873 }, 874 "An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type.": { 875 "category": "Error", 876 "code": 1268 877 }, 878 "Cannot use 'export import' on a type or type-only namespace when the '--isolatedModules' flag is provided.": { 879 "category": "Error", 880 "code": 1269 881 }, 882 "Decorator function return type '{0}' is not assignable to type '{1}'.": { 883 "category": "Error", 884 "code": 1270 885 }, 886 "Decorator function return type is '{0}' but is expected to be 'void' or 'any'.": { 887 "category": "Error", 888 "code": 1271 889 }, 890 "A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled.": { 891 "category": "Error", 892 "code": 1272 893 }, 894 "'{0}' modifier cannot appear on a type parameter": { 895 "category": "Error", 896 "code": 1273 897 }, 898 "'{0}' modifier can only appear on a type parameter of a class, interface or type alias": { 899 "category": "Error", 900 "code": 1274 901 }, 902 "'accessor' modifier can only appear on a property declaration.": { 903 "category": "Error", 904 "code": 1275 905 }, 906 "An 'accessor' property cannot be declared optional.": { 907 "category": "Error", 908 "code": 1276 909 }, 910 911 "'with' statements are not allowed in an async function block.": { 912 "category": "Error", 913 "code": 1300 914 }, 915 "'await' expressions are only allowed within async functions and at the top levels of modules.": { 916 "category": "Error", 917 "code": 1308 918 }, 919 "The current file is a CommonJS module and cannot use 'await' at the top level.": { 920 "category": "Error", 921 "code": 1309 922 }, 923 "Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.": { 924 "category": "Error", 925 "code": 1312 926 }, 927 "The body of an 'if' statement cannot be the empty statement.": { 928 "category": "Error", 929 "code": 1313 930 }, 931 "Global module exports may only appear in module files.": { 932 "category": "Error", 933 "code": 1314 934 }, 935 "Global module exports may only appear in declaration files.": { 936 "category": "Error", 937 "code": 1315 938 }, 939 "Global module exports may only appear at top level.": { 940 "category": "Error", 941 "code": 1316 942 }, 943 "A parameter property cannot be declared using a rest parameter.": { 944 "category": "Error", 945 "code": 1317 946 }, 947 "An abstract accessor cannot have an implementation.": { 948 "category": "Error", 949 "code": 1318 950 }, 951 "A default export can only be used in an ECMAScript-style module.": { 952 "category": "Error", 953 "code": 1319 954 }, 955 "Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.": { 956 "category": "Error", 957 "code": 1320 958 }, 959 "Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member.": { 960 "category": "Error", 961 "code": 1321 962 }, 963 "Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member.": { 964 "category": "Error", 965 "code": 1322 966 }, 967 "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.": { 968 "category": "Error", 969 "code": 1323 970 }, 971 "Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'.": { 972 "category": "Error", 973 "code": 1324 974 }, 975 "Argument of dynamic import cannot be spread element.": { 976 "category": "Error", 977 "code": 1325 978 }, 979 "This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.": { 980 "category": "Error", 981 "code": 1326 982 }, 983 "String literal with double quotes expected.": { 984 "category": "Error", 985 "code": 1327 986 }, 987 "Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal.": { 988 "category": "Error", 989 "code": 1328 990 }, 991 "'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?": { 992 "category": "Error", 993 "code": 1329 994 }, 995 "A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.": { 996 "category": "Error", 997 "code": 1330 998 }, 999 "A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.": { 1000 "category": "Error", 1001 "code": 1331 1002 }, 1003 "A variable whose type is a 'unique symbol' type must be 'const'.": { 1004 "category": "Error", 1005 "code": 1332 1006 }, 1007 "'unique symbol' types may not be used on a variable declaration with a binding name.": { 1008 "category": "Error", 1009 "code": 1333 1010 }, 1011 "'unique symbol' types are only allowed on variables in a variable statement.": { 1012 "category": "Error", 1013 "code": 1334 1014 }, 1015 "'unique symbol' types are not allowed here.": { 1016 "category": "Error", 1017 "code": 1335 1018 }, 1019 "An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead.": { 1020 "category": "Error", 1021 "code": 1337 1022 }, 1023 "'infer' declarations are only permitted in the 'extends' clause of a conditional type.": { 1024 "category": "Error", 1025 "code": 1338 1026 }, 1027 "Module '{0}' does not refer to a value, but is used as a value here.": { 1028 "category": "Error", 1029 "code": 1339 1030 }, 1031 "Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?": { 1032 "category": "Error", 1033 "code": 1340 1034 }, 1035 "Class constructor may not be an accessor.": { 1036 "category": "Error", 1037 "code": 1341 1038 }, 1039 "Type arguments cannot be used here.": { 1040 "category": "Error", 1041 "code": 1342 1042 }, 1043 "The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.": { 1044 "category": "Error", 1045 "code": 1343 1046 }, 1047 "'A label is not allowed here.": { 1048 "category": "Error", 1049 "code": 1344 1050 }, 1051 "An expression of type 'void' cannot be tested for truthiness.": { 1052 "category": "Error", 1053 "code": 1345 1054 }, 1055 "This parameter is not allowed with 'use strict' directive.": { 1056 "category": "Error", 1057 "code": 1346 1058 }, 1059 "'use strict' directive cannot be used with non-simple parameter list.": { 1060 "category": "Error", 1061 "code": 1347 1062 }, 1063 "Non-simple parameter declared here.": { 1064 "category": "Error", 1065 "code": 1348 1066 }, 1067 "'use strict' directive used here.": { 1068 "category": "Error", 1069 "code": 1349 1070 }, 1071 "Print the final configuration instead of building.": { 1072 "category": "Message", 1073 "code": 1350 1074 }, 1075 "An identifier or keyword cannot immediately follow a numeric literal.": { 1076 "category": "Error", 1077 "code": 1351 1078 }, 1079 "A bigint literal cannot use exponential notation.": { 1080 "category": "Error", 1081 "code": 1352 1082 }, 1083 "A bigint literal must be an integer.": { 1084 "category": "Error", 1085 "code": 1353 1086 }, 1087 "'readonly' type modifier is only permitted on array and tuple literal types.": { 1088 "category": "Error", 1089 "code": 1354 1090 }, 1091 "A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.": { 1092 "category": "Error", 1093 "code": 1355 1094 }, 1095 "Did you mean to mark this function as 'async'?": { 1096 "category": "Error", 1097 "code": 1356 1098 }, 1099 "An enum member name must be followed by a ',', '=', or '}'.": { 1100 "category": "Error", 1101 "code": 1357 1102 }, 1103 "Tagged template expressions are not permitted in an optional chain.": { 1104 "category": "Error", 1105 "code": 1358 1106 }, 1107 "Identifier expected. '{0}' is a reserved word that cannot be used here.": { 1108 "category": "Error", 1109 "code": 1359 1110 }, 1111 "Type '{0}' does not satisfy the expected type '{1}'.": { 1112 "category": "Error", 1113 "code": 1360 1114 }, 1115 "'{0}' cannot be used as a value because it was imported using 'import type'.": { 1116 "category": "Error", 1117 "code": 1361 1118 }, 1119 "'{0}' cannot be used as a value because it was exported using 'export type'.": { 1120 "category": "Error", 1121 "code": 1362 1122 }, 1123 "A type-only import can specify a default import or named bindings, but not both.": { 1124 "category": "Error", 1125 "code": 1363 1126 }, 1127 "Convert to type-only export": { 1128 "category": "Message", 1129 "code": 1364 1130 }, 1131 "Convert all re-exported types to type-only exports": { 1132 "category": "Message", 1133 "code": 1365 1134 }, 1135 "Split into two separate import declarations": { 1136 "category": "Message", 1137 "code": 1366 1138 }, 1139 "Split all invalid type-only imports": { 1140 "category": "Message", 1141 "code": 1367 1142 }, 1143 "Class constructor may not be a generator.": { 1144 "category": "Error", 1145 "code": 1368 1146 }, 1147 "Did you mean '{0}'?": { 1148 "category": "Message", 1149 "code": 1369 1150 }, 1151 "This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.": { 1152 "category": "Error", 1153 "code": 1371 1154 }, 1155 "Convert to type-only import": { 1156 "category": "Message", 1157 "code": 1373 1158 }, 1159 "Convert all imports not used as a value to type-only imports": { 1160 "category": "Message", 1161 "code": 1374 1162 }, 1163 "'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.": { 1164 "category": "Error", 1165 "code": 1375 1166 }, 1167 "'{0}' was imported here.": { 1168 "category": "Message", 1169 "code": 1376 1170 }, 1171 "'{0}' was exported here.": { 1172 "category": "Message", 1173 "code": 1377 1174 }, 1175 "Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.": { 1176 "category": "Error", 1177 "code": 1378 1178 }, 1179 "An import alias cannot reference a declaration that was exported using 'export type'.": { 1180 "category": "Error", 1181 "code": 1379 1182 }, 1183 "An import alias cannot reference a declaration that was imported using 'import type'.": { 1184 "category": "Error", 1185 "code": 1380 1186 }, 1187 "Unexpected token. Did you mean `{'}'}` or `}`?": { 1188 "category": "Error", 1189 "code": 1381 1190 }, 1191 "Unexpected token. Did you mean `{'>'}` or `>`?": { 1192 "category": "Error", 1193 "code": 1382 1194 }, 1195 "Only named exports may use 'export type'.": { 1196 "category": "Error", 1197 "code": 1383 1198 }, 1199 "Function type notation must be parenthesized when used in a union type.": { 1200 "category": "Error", 1201 "code": 1385 1202 }, 1203 "Constructor type notation must be parenthesized when used in a union type.": { 1204 "category": "Error", 1205 "code": 1386 1206 }, 1207 "Function type notation must be parenthesized when used in an intersection type.": { 1208 "category": "Error", 1209 "code": 1387 1210 }, 1211 "Constructor type notation must be parenthesized when used in an intersection type.": { 1212 "category": "Error", 1213 "code": 1388 1214 }, 1215 "'{0}' is not allowed as a variable declaration name.": { 1216 "category": "Error", 1217 "code": 1389 1218 }, 1219 "'{0}' is not allowed as a parameter name.": { 1220 "category": "Error", 1221 "code": 1390 1222 }, 1223 "An import alias cannot use 'import type'": { 1224 "category": "Error", 1225 "code": 1392 1226 }, 1227 "Imported via {0} from file '{1}'": { 1228 "category": "Message", 1229 "code": 1393 1230 }, 1231 "Imported via {0} from file '{1}' with packageId '{2}'": { 1232 "category": "Message", 1233 "code": 1394 1234 }, 1235 "Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions": { 1236 "category": "Message", 1237 "code": 1395 1238 }, 1239 "Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions": { 1240 "category": "Message", 1241 "code": 1396 1242 }, 1243 "Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions": { 1244 "category": "Message", 1245 "code": 1397 1246 }, 1247 "Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions": { 1248 "category": "Message", 1249 "code": 1398 1250 }, 1251 "File is included via import here.": { 1252 "category": "Message", 1253 "code": 1399 1254 }, 1255 "Referenced via '{0}' from file '{1}'": { 1256 "category": "Message", 1257 "code": 1400 1258 }, 1259 "File is included via reference here.": { 1260 "category": "Message", 1261 "code": 1401 1262 }, 1263 "Type library referenced via '{0}' from file '{1}'": { 1264 "category": "Message", 1265 "code": 1402 1266 }, 1267 "Type library referenced via '{0}' from file '{1}' with packageId '{2}'": { 1268 "category": "Message", 1269 "code": 1403 1270 }, 1271 "File is included via type library reference here.": { 1272 "category": "Message", 1273 "code": 1404 1274 }, 1275 "Library referenced via '{0}' from file '{1}'": { 1276 "category": "Message", 1277 "code": 1405 1278 }, 1279 "File is included via library reference here.": { 1280 "category": "Message", 1281 "code": 1406 1282 }, 1283 "Matched by include pattern '{0}' in '{1}'": { 1284 "category": "Message", 1285 "code": 1407 1286 }, 1287 "File is matched by include pattern specified here.": { 1288 "category": "Message", 1289 "code": 1408 1290 }, 1291 "Part of 'files' list in tsconfig.json": { 1292 "category": "Message", 1293 "code": 1409 1294 }, 1295 "File is matched by 'files' list specified here.": { 1296 "category": "Message", 1297 "code": 1410 1298 }, 1299 "Output from referenced project '{0}' included because '{1}' specified": { 1300 "category": "Message", 1301 "code": 1411 1302 }, 1303 "Output from referenced project '{0}' included because '--module' is specified as 'none'": { 1304 "category": "Message", 1305 "code": 1412 1306 }, 1307 "File is output from referenced project specified here.": { 1308 "category": "Message", 1309 "code": 1413 1310 }, 1311 "Source from referenced project '{0}' included because '{1}' specified": { 1312 "category": "Message", 1313 "code": 1414 1314 }, 1315 "Source from referenced project '{0}' included because '--module' is specified as 'none'": { 1316 "category": "Message", 1317 "code": 1415 1318 }, 1319 "File is source from referenced project specified here.": { 1320 "category": "Message", 1321 "code": 1416 1322 }, 1323 "Entry point of type library '{0}' specified in compilerOptions": { 1324 "category": "Message", 1325 "code": 1417 1326 }, 1327 "Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'": { 1328 "category": "Message", 1329 "code": 1418 1330 }, 1331 "File is entry point of type library specified here.": { 1332 "category": "Message", 1333 "code": 1419 1334 }, 1335 "Entry point for implicit type library '{0}'": { 1336 "category": "Message", 1337 "code": 1420 1338 }, 1339 "Entry point for implicit type library '{0}' with packageId '{1}'": { 1340 "category": "Message", 1341 "code": 1421 1342 }, 1343 "Library '{0}' specified in compilerOptions": { 1344 "category": "Message", 1345 "code": 1422 1346 }, 1347 "File is library specified here.": { 1348 "category": "Message", 1349 "code": 1423 1350 }, 1351 "Default library": { 1352 "category": "Message", 1353 "code": 1424 1354 }, 1355 "Default library for target '{0}'": { 1356 "category": "Message", 1357 "code": 1425 1358 }, 1359 "File is default library for target specified here.": { 1360 "category": "Message", 1361 "code": 1426 1362 }, 1363 "Root file specified for compilation": { 1364 "category": "Message", 1365 "code": 1427 1366 }, 1367 "File is output of project reference source '{0}'": { 1368 "category": "Message", 1369 "code": 1428 1370 }, 1371 "File redirects to file '{0}'": { 1372 "category": "Message", 1373 "code": 1429 1374 }, 1375 "The file is in the program because:": { 1376 "category": "Message", 1377 "code": 1430 1378 }, 1379 "'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.": { 1380 "category": "Error", 1381 "code": 1431 1382 }, 1383 "Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.": { 1384 "category": "Error", 1385 "code": 1432 1386 }, 1387 "Decorators may not be applied to 'this' parameters.": { 1388 "category": "Error", 1389 "code": 1433 1390 }, 1391 "Unexpected keyword or identifier.": { 1392 "category": "Error", 1393 "code": 1434 1394 }, 1395 "Unknown keyword or identifier. Did you mean '{0}'?": { 1396 "category": "Error", 1397 "code": 1435 1398 }, 1399 "Decorators must precede the name and all keywords of property declarations.": { 1400 "category": "Error", 1401 "code": 1436 1402 }, 1403 "Namespace must be given a name.": { 1404 "category": "Error", 1405 "code": 1437 1406 }, 1407 "Interface must be given a name.": { 1408 "category": "Error", 1409 "code": 1438 1410 }, 1411 "Type alias must be given a name.": { 1412 "category": "Error", 1413 "code": 1439 1414 }, 1415 "Variable declaration not allowed at this location.": { 1416 "category": "Error", 1417 "code": 1440 1418 }, 1419 "Cannot start a function call in a type annotation.": { 1420 "category": "Error", 1421 "code": 1441 1422 }, 1423 "Expected '=' for property initializer.": { 1424 "category": "Error", 1425 "code": 1442 1426 }, 1427 "Module declaration names may only use ' or \" quoted strings.": { 1428 "category": "Error", 1429 "code": 1443 1430 }, 1431 "'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.": { 1432 "category": "Error", 1433 "code": 1444 1434 }, 1435 "'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.": { 1436 "category": "Error", 1437 "code": 1446 1438 }, 1439 "'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled.": { 1440 "category": "Error", 1441 "code": 1448 1442 }, 1443 "Preserve unused imported values in the JavaScript output that would otherwise be removed.": { 1444 "category": "Message", 1445 "code": 1449 1446 }, 1447 "Dynamic imports can only accept a module specifier and an optional assertion as arguments": { 1448 "category": "Message", 1449 "code": 1450 1450 }, 1451 "Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression": { 1452 "category": "Error", 1453 "code": 1451 1454 }, 1455 "'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.": { 1456 "category": "Error", 1457 "code": 1452 1458 }, 1459 "`resolution-mode` should be either `require` or `import`.": { 1460 "category": "Error", 1461 "code": 1453 1462 }, 1463 "`resolution-mode` can only be set for type-only imports.": { 1464 "category": "Error", 1465 "code": 1454 1466 }, 1467 "`resolution-mode` is the only valid key for type import assertions.": { 1468 "category": "Error", 1469 "code": 1455 1470 }, 1471 "Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`.": { 1472 "category": "Error", 1473 "code": 1456 1474 }, 1475 "Matched by default include pattern '**/*'": { 1476 "category": "Message", 1477 "code": 1457 1478 }, 1479 "File is ECMAScript module because '{0}' has field \"type\" with value \"module\"": { 1480 "category": "Message", 1481 "code": 1458 1482 }, 1483 "File is CommonJS module because '{0}' has field \"type\" whose value is not \"module\"": { 1484 "category": "Message", 1485 "code": 1459 1486 }, 1487 "File is CommonJS module because '{0}' does not have field \"type\"": { 1488 "category": "Message", 1489 "code": 1460 1490 }, 1491 "File is CommonJS module because 'package.json' was not found": { 1492 "category": "Message", 1493 "code": 1461 1494 }, 1495 1496 "The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.": { 1497 "category": "Error", 1498 "code": 1470 1499 }, 1500 "Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead.": { 1501 "category": "Error", 1502 "code": 1471 1503 }, 1504 "'catch' or 'finally' expected.": { 1505 "category": "Error", 1506 "code": 1472 1507 }, 1508 "An import declaration can only be used at the top level of a module.": { 1509 "category": "Error", 1510 "code": 1473 1511 }, 1512 "An export declaration can only be used at the top level of a module.": { 1513 "category": "Error", 1514 "code": 1474 1515 }, 1516 "Control what method is used to detect module-format JS files.": { 1517 "category": "Message", 1518 "code": 1475 1519 }, 1520 "\"auto\": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.": { 1521 "category": "Message", 1522 "code": 1476 1523 }, 1524 "An instantiation expression cannot be followed by a property access.": { 1525 "category": "Error", 1526 "code": 1477 1527 }, 1528 "Identifier or string literal expected.": { 1529 "category": "Error", 1530 "code": 1478 1531 }, 1532 "The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead.": { 1533 "category": "Error", 1534 "code": 1479 1535 }, 1536 "To convert this file to an ECMAScript module, change its file extension to '{0}' or create a local package.json file with `{ \"type\": \"module\" }`.": { 1537 "category": "Message", 1538 "code": 1480 1539 }, 1540 "To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'.": { 1541 "category": "Message", 1542 "code": 1481 1543 }, 1544 "To convert this file to an ECMAScript module, add the field `\"type\": \"module\"` to '{0}'.": { 1545 "category": "Message", 1546 "code": 1482 1547 }, 1548 "To convert this file to an ECMAScript module, create a local package.json file with `{ \"type\": \"module\" }`.": { 1549 "category": "Message", 1550 "code": 1483 1551 }, 1552 1553 "The types of '{0}' are incompatible between these types.": { 1554 "category": "Error", 1555 "code": 2200 1556 }, 1557 "The types returned by '{0}' are incompatible between these types.": { 1558 "category": "Error", 1559 "code": 2201 1560 }, 1561 "Call signature return types '{0}' and '{1}' are incompatible.": { 1562 "category": "Error", 1563 "code": 2202, 1564 "elidedInCompatabilityPyramid": true 1565 }, 1566 "Construct signature return types '{0}' and '{1}' are incompatible.": { 1567 "category": "Error", 1568 "code": 2203, 1569 "elidedInCompatabilityPyramid": true 1570 }, 1571 "Call signatures with no arguments have incompatible return types '{0}' and '{1}'.": { 1572 "category": "Error", 1573 "code": 2204, 1574 "elidedInCompatabilityPyramid": true 1575 }, 1576 "Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.": { 1577 "category": "Error", 1578 "code": 2205, 1579 "elidedInCompatabilityPyramid": true 1580 }, 1581 "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.": { 1582 "category": "Error", 1583 "code": 2206 1584 }, 1585 "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.": { 1586 "category": "Error", 1587 "code": 2207 1588 }, 1589 "This type parameter might need an `extends {0}` constraint.": { 1590 "category": "Error", 1591 "code": 2208 1592 }, 1593 1594 "The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate.": { 1595 "category": "Error", 1596 "code": 2209 1597 }, 1598 "The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate.": { 1599 "category": "Error", 1600 "code": 2210 1601 }, 1602 "Add `extends` constraint.": { 1603 "category": "Message", 1604 "code": 2211 1605 }, 1606 "Add `extends` constraint to all type parameters": { 1607 "category": "Message", 1608 "code": 2212 1609 }, 1610 1611 "Duplicate identifier '{0}'.": { 1612 "category": "Error", 1613 "code": 2300 1614 }, 1615 "Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.": { 1616 "category": "Error", 1617 "code": 2301 1618 }, 1619 "Static members cannot reference class type parameters.": { 1620 "category": "Error", 1621 "code": 2302 1622 }, 1623 "Circular definition of import alias '{0}'.": { 1624 "category": "Error", 1625 "code": 2303 1626 }, 1627 "Cannot find name '{0}'.": { 1628 "category": "Error", 1629 "code": 2304 1630 }, 1631 "Module '{0}' has no exported member '{1}'.": { 1632 "category": "Error", 1633 "code": 2305 1634 }, 1635 "File '{0}' is not a module.": { 1636 "category": "Error", 1637 "code": 2306 1638 }, 1639 "Cannot find module '{0}' or its corresponding type declarations.": { 1640 "category": "Error", 1641 "code": 2307 1642 }, 1643 "Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity.": { 1644 "category": "Error", 1645 "code": 2308 1646 }, 1647 "An export assignment cannot be used in a module with other exported elements.": { 1648 "category": "Error", 1649 "code": 2309 1650 }, 1651 "Type '{0}' recursively references itself as a base type.": { 1652 "category": "Error", 1653 "code": 2310 1654 }, 1655 "Cannot find name '{0}'. Did you mean to write this in an async function?": { 1656 "category": "Error", 1657 "code": 2311 1658 }, 1659 "An interface can only extend an object type or intersection of object types with statically known members.": { 1660 "category": "Error", 1661 "code": 2312 1662 }, 1663 "Type parameter '{0}' has a circular constraint.": { 1664 "category": "Error", 1665 "code": 2313 1666 }, 1667 "Generic type '{0}' requires {1} type argument(s).": { 1668 "category": "Error", 1669 "code": 2314 1670 }, 1671 "Type '{0}' is not generic.": { 1672 "category": "Error", 1673 "code": 2315 1674 }, 1675 "Global type '{0}' must be a class or interface type.": { 1676 "category": "Error", 1677 "code": 2316 1678 }, 1679 "Global type '{0}' must have {1} type parameter(s).": { 1680 "category": "Error", 1681 "code": 2317 1682 }, 1683 "Cannot find global type '{0}'.": { 1684 "category": "Error", 1685 "code": 2318 1686 }, 1687 "Named property '{0}' of types '{1}' and '{2}' are not identical.": { 1688 "category": "Error", 1689 "code": 2319 1690 }, 1691 "Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.": { 1692 "category": "Error", 1693 "code": 2320 1694 }, 1695 "Excessive stack depth comparing types '{0}' and '{1}'.": { 1696 "category": "Error", 1697 "code": 2321 1698 }, 1699 "Type '{0}' is not assignable to type '{1}'.": { 1700 "category": "Error", 1701 "code": 2322 1702 }, 1703 "Cannot redeclare exported variable '{0}'.": { 1704 "category": "Error", 1705 "code": 2323 1706 }, 1707 "Property '{0}' is missing in type '{1}'.": { 1708 "category": "Error", 1709 "code": 2324 1710 }, 1711 "Property '{0}' is private in type '{1}' but not in type '{2}'.": { 1712 "category": "Error", 1713 "code": 2325 1714 }, 1715 "Types of property '{0}' are incompatible.": { 1716 "category": "Error", 1717 "code": 2326 1718 }, 1719 "Property '{0}' is optional in type '{1}' but required in type '{2}'.": { 1720 "category": "Error", 1721 "code": 2327 1722 }, 1723 "Types of parameters '{0}' and '{1}' are incompatible.": { 1724 "category": "Error", 1725 "code": 2328 1726 }, 1727 "Index signature for type '{0}' is missing in type '{1}'.": { 1728 "category": "Error", 1729 "code": 2329 1730 }, 1731 "'{0}' and '{1}' index signatures are incompatible.": { 1732 "category": "Error", 1733 "code": 2330 1734 }, 1735 "'this' cannot be referenced in a module or namespace body.": { 1736 "category": "Error", 1737 "code": 2331 1738 }, 1739 "'this' cannot be referenced in current location.": { 1740 "category": "Error", 1741 "code": 2332 1742 }, 1743 "'this' cannot be referenced in constructor arguments.": { 1744 "category": "Error", 1745 "code": 2333 1746 }, 1747 "'this' cannot be referenced in a static property initializer.": { 1748 "category": "Error", 1749 "code": 2334 1750 }, 1751 "'super' can only be referenced in a derived class.": { 1752 "category": "Error", 1753 "code": 2335 1754 }, 1755 "'super' cannot be referenced in constructor arguments.": { 1756 "category": "Error", 1757 "code": 2336 1758 }, 1759 "Super calls are not permitted outside constructors or in nested functions inside constructors.": { 1760 "category": "Error", 1761 "code": 2337 1762 }, 1763 "'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.": { 1764 "category": "Error", 1765 "code": 2338 1766 }, 1767 "Property '{0}' does not exist on type '{1}'.": { 1768 "category": "Error", 1769 "code": 2339 1770 }, 1771 "Only public and protected methods of the base class are accessible via the 'super' keyword.": { 1772 "category": "Error", 1773 "code": 2340 1774 }, 1775 "Property '{0}' is private and only accessible within class '{1}'.": { 1776 "category": "Error", 1777 "code": 2341 1778 }, 1779 "This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'.": { 1780 "category": "Error", 1781 "code": 2343 1782 }, 1783 "Type '{0}' does not satisfy the constraint '{1}'.": { 1784 "category": "Error", 1785 "code": 2344 1786 }, 1787 "Argument of type '{0}' is not assignable to parameter of type '{1}'.": { 1788 "category": "Error", 1789 "code": 2345 1790 }, 1791 "Call target does not contain any signatures.": { 1792 "category": "Error", 1793 "code": 2346 1794 }, 1795 "Untyped function calls may not accept type arguments.": { 1796 "category": "Error", 1797 "code": 2347 1798 }, 1799 "Value of type '{0}' is not callable. Did you mean to include 'new'?": { 1800 "category": "Error", 1801 "code": 2348 1802 }, 1803 "This expression is not callable.": { 1804 "category": "Error", 1805 "code": 2349 1806 }, 1807 "Only a void function can be called with the 'new' keyword.": { 1808 "category": "Error", 1809 "code": 2350 1810 }, 1811 "This expression is not constructable.": { 1812 "category": "Error", 1813 "code": 2351 1814 }, 1815 "Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.": { 1816 "category": "Error", 1817 "code": 2352 1818 }, 1819 "Object literal may only specify known properties, and '{0}' does not exist in type '{1}'.": { 1820 "category": "Error", 1821 "code": 2353 1822 }, 1823 "This syntax requires an imported helper but module '{0}' cannot be found.": { 1824 "category": "Error", 1825 "code": 2354 1826 }, 1827 "A function whose declared type is neither 'void' nor 'any' must return a value.": { 1828 "category": "Error", 1829 "code": 2355 1830 }, 1831 "An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.": { 1832 "category": "Error", 1833 "code": 2356 1834 }, 1835 "The operand of an increment or decrement operator must be a variable or a property access.": { 1836 "category": "Error", 1837 "code": 2357 1838 }, 1839 "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": { 1840 "category": "Error", 1841 "code": 2358 1842 }, 1843 "The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.": { 1844 "category": "Error", 1845 "code": 2359 1846 }, 1847 "The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": { 1848 "category": "Error", 1849 "code": 2362 1850 }, 1851 "The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": { 1852 "category": "Error", 1853 "code": 2363 1854 }, 1855 "The left-hand side of an assignment expression must be a variable or a property access.": { 1856 "category": "Error", 1857 "code": 2364 1858 }, 1859 "Operator '{0}' cannot be applied to types '{1}' and '{2}'.": { 1860 "category": "Error", 1861 "code": 2365 1862 }, 1863 "Function lacks ending return statement and return type does not include 'undefined'.": { 1864 "category": "Error", 1865 "code": 2366 1866 }, 1867 "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.": { 1868 "category": "Error", 1869 "code": 2367 1870 }, 1871 "Type parameter name cannot be '{0}'.": { 1872 "category": "Error", 1873 "code": 2368 1874 }, 1875 "A parameter property is only allowed in a constructor implementation.": { 1876 "category": "Error", 1877 "code": 2369 1878 }, 1879 "A rest parameter must be of an array type.": { 1880 "category": "Error", 1881 "code": 2370 1882 }, 1883 "A parameter initializer is only allowed in a function or constructor implementation.": { 1884 "category": "Error", 1885 "code": 2371 1886 }, 1887 "Parameter '{0}' cannot reference itself.": { 1888 "category": "Error", 1889 "code": 2372 1890 }, 1891 "Parameter '{0}' cannot reference identifier '{1}' declared after it.": { 1892 "category": "Error", 1893 "code": 2373 1894 }, 1895 "Duplicate index signature for type '{0}'.": { 1896 "category": "Error", 1897 "code": 2374 1898 }, 1899 "Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.": { 1900 "category": "Error", 1901 "code": 2375 1902 }, 1903 "A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers.": { 1904 "category": "Error", 1905 "code": 2376 1906 }, 1907 "Constructors for derived classes must contain a 'super' call.": { 1908 "category": "Error", 1909 "code": 2377 1910 }, 1911 "A 'get' accessor must return a value.": { 1912 "category": "Error", 1913 "code": 2378 1914 }, 1915 "Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.": { 1916 "category": "Error", 1917 "code": 2379 1918 }, 1919 "The return type of a 'get' accessor must be assignable to its 'set' accessor type": { 1920 "category": "Error", 1921 "code": 2380 1922 }, 1923 "Overload signatures must all be exported or non-exported.": { 1924 "category": "Error", 1925 "code": 2383 1926 }, 1927 "Overload signatures must all be ambient or non-ambient.": { 1928 "category": "Error", 1929 "code": 2384 1930 }, 1931 "Overload signatures must all be public, private or protected.": { 1932 "category": "Error", 1933 "code": 2385 1934 }, 1935 "Overload signatures must all be optional or required.": { 1936 "category": "Error", 1937 "code": 2386 1938 }, 1939 "Function overload must be static.": { 1940 "category": "Error", 1941 "code": 2387 1942 }, 1943 "Function overload must not be static.": { 1944 "category": "Error", 1945 "code": 2388 1946 }, 1947 "Function implementation name must be '{0}'.": { 1948 "category": "Error", 1949 "code": 2389 1950 }, 1951 "Constructor implementation is missing.": { 1952 "category": "Error", 1953 "code": 2390 1954 }, 1955 "Function implementation is missing or not immediately following the declaration.": { 1956 "category": "Error", 1957 "code": 2391 1958 }, 1959 "Multiple constructor implementations are not allowed.": { 1960 "category": "Error", 1961 "code": 2392 1962 }, 1963 "Duplicate function implementation.": { 1964 "category": "Error", 1965 "code": 2393 1966 }, 1967 "This overload signature is not compatible with its implementation signature.": { 1968 "category": "Error", 1969 "code": 2394 1970 }, 1971 "Individual declarations in merged declaration '{0}' must be all exported or all local.": { 1972 "category": "Error", 1973 "code": 2395 1974 }, 1975 "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.": { 1976 "category": "Error", 1977 "code": 2396 1978 }, 1979 "Declaration name conflicts with built-in global identifier '{0}'.": { 1980 "category": "Error", 1981 "code": 2397 1982 }, 1983 "'constructor' cannot be used as a parameter property name.": { 1984 "category": "Error", 1985 "code": 2398 1986 }, 1987 "Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.": { 1988 "category": "Error", 1989 "code": 2399 1990 }, 1991 "Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.": { 1992 "category": "Error", 1993 "code": 2400 1994 }, 1995 "A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers.": { 1996 "category": "Error", 1997 "code": 2401 1998 }, 1999 "Expression resolves to '_super' that compiler uses to capture base class reference.": { 2000 "category": "Error", 2001 "code": 2402 2002 }, 2003 "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": { 2004 "category": "Error", 2005 "code": 2403 2006 }, 2007 "The left-hand side of a 'for...in' statement cannot use a type annotation.": { 2008 "category": "Error", 2009 "code": 2404 2010 }, 2011 "The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.": { 2012 "category": "Error", 2013 "code": 2405 2014 }, 2015 "The left-hand side of a 'for...in' statement must be a variable or a property access.": { 2016 "category": "Error", 2017 "code": 2406 2018 }, 2019 "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'.": { 2020 "category": "Error", 2021 "code": 2407 2022 }, 2023 "Setters cannot return a value.": { 2024 "category": "Error", 2025 "code": 2408 2026 }, 2027 "Return type of constructor signature must be assignable to the instance type of the class.": { 2028 "category": "Error", 2029 "code": 2409 2030 }, 2031 "The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.": { 2032 "category": "Error", 2033 "code": 2410 2034 }, 2035 "Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.": { 2036 "category": "Error", 2037 "code": 2412 2038 }, 2039 "Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'.": { 2040 "category": "Error", 2041 "code": 2411 2042 }, 2043 "'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'.": { 2044 "category": "Error", 2045 "code": 2413 2046 }, 2047 "Class name cannot be '{0}'.": { 2048 "category": "Error", 2049 "code": 2414 2050 }, 2051 "Class '{0}' incorrectly extends base class '{1}'.": { 2052 "category": "Error", 2053 "code": 2415 2054 }, 2055 "Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.": { 2056 "category": "Error", 2057 "code": 2416 2058 }, 2059 "Class static side '{0}' incorrectly extends base class static side '{1}'.": { 2060 "category": "Error", 2061 "code": 2417 2062 }, 2063 "Type of computed property's value is '{0}', which is not assignable to type '{1}'.": { 2064 "category": "Error", 2065 "code": 2418 2066 }, 2067 "Types of construct signatures are incompatible.": { 2068 "category": "Error", 2069 "code": 2419 2070 }, 2071 "Class '{0}' incorrectly implements interface '{1}'.": { 2072 "category": "Error", 2073 "code": 2420 2074 }, 2075 "A class can only implement an object type or intersection of object types with statically known members.": { 2076 "category": "Error", 2077 "code": 2422 2078 }, 2079 "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": { 2080 "category": "Error", 2081 "code": 2423 2082 }, 2083 "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": { 2084 "category": "Error", 2085 "code": 2425 2086 }, 2087 "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": { 2088 "category": "Error", 2089 "code": 2426 2090 }, 2091 "Interface name cannot be '{0}'.": { 2092 "category": "Error", 2093 "code": 2427 2094 }, 2095 "All declarations of '{0}' must have identical type parameters.": { 2096 "category": "Error", 2097 "code": 2428 2098 }, 2099 "Interface '{0}' incorrectly extends interface '{1}'.": { 2100 "category": "Error", 2101 "code": 2430 2102 }, 2103 "Enum name cannot be '{0}'.": { 2104 "category": "Error", 2105 "code": 2431 2106 }, 2107 "In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.": { 2108 "category": "Error", 2109 "code": 2432 2110 }, 2111 "A namespace declaration cannot be in a different file from a class or function with which it is merged.": { 2112 "category": "Error", 2113 "code": 2433 2114 }, 2115 "A namespace declaration cannot be located prior to a class or function with which it is merged.": { 2116 "category": "Error", 2117 "code": 2434 2118 }, 2119 "Ambient modules cannot be nested in other modules or namespaces.": { 2120 "category": "Error", 2121 "code": 2435 2122 }, 2123 "Ambient module declaration cannot specify relative module name.": { 2124 "category": "Error", 2125 "code": 2436 2126 }, 2127 "Module '{0}' is hidden by a local declaration with the same name.": { 2128 "category": "Error", 2129 "code": 2437 2130 }, 2131 "Import name cannot be '{0}'.": { 2132 "category": "Error", 2133 "code": 2438 2134 }, 2135 "Import or export declaration in an ambient module declaration cannot reference module through relative module name.": { 2136 "category": "Error", 2137 "code": 2439 2138 }, 2139 "Import declaration conflicts with local declaration of '{0}'.": { 2140 "category": "Error", 2141 "code": 2440 2142 }, 2143 "Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module.": { 2144 "category": "Error", 2145 "code": 2441 2146 }, 2147 "Types have separate declarations of a private property '{0}'.": { 2148 "category": "Error", 2149 "code": 2442 2150 }, 2151 "Property '{0}' is protected but type '{1}' is not a class derived from '{2}'.": { 2152 "category": "Error", 2153 "code": 2443 2154 }, 2155 "Property '{0}' is protected in type '{1}' but public in type '{2}'.": { 2156 "category": "Error", 2157 "code": 2444 2158 }, 2159 "Property '{0}' is protected and only accessible within class '{1}' and its subclasses.": { 2160 "category": "Error", 2161 "code": 2445 2162 }, 2163 "Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'.": { 2164 "category": "Error", 2165 "code": 2446 2166 }, 2167 "The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead.": { 2168 "category": "Error", 2169 "code": 2447 2170 }, 2171 "Block-scoped variable '{0}' used before its declaration.": { 2172 "category": "Error", 2173 "code": 2448 2174 }, 2175 "Class '{0}' used before its declaration.": { 2176 "category": "Error", 2177 "code": 2449 2178 }, 2179 "Enum '{0}' used before its declaration.": { 2180 "category": "Error", 2181 "code": 2450 2182 }, 2183 "Cannot redeclare block-scoped variable '{0}'.": { 2184 "category": "Error", 2185 "code": 2451 2186 }, 2187 "An enum member cannot have a numeric name.": { 2188 "category": "Error", 2189 "code": 2452 2190 }, 2191 "Variable '{0}' is used before being assigned.": { 2192 "category": "Error", 2193 "code": 2454 2194 }, 2195 "Type alias '{0}' circularly references itself.": { 2196 "category": "Error", 2197 "code": 2456 2198 }, 2199 "Type alias name cannot be '{0}'.": { 2200 "category": "Error", 2201 "code": 2457 2202 }, 2203 "An AMD module cannot have multiple name assignments.": { 2204 "category": "Error", 2205 "code": 2458 2206 }, 2207 "Module '{0}' declares '{1}' locally, but it is not exported.": { 2208 "category": "Error", 2209 "code": 2459 2210 }, 2211 "Module '{0}' declares '{1}' locally, but it is exported as '{2}'.": { 2212 "category": "Error", 2213 "code": 2460 2214 }, 2215 "Type '{0}' is not an array type.": { 2216 "category": "Error", 2217 "code": 2461 2218 }, 2219 "A rest element must be last in a destructuring pattern.": { 2220 "category": "Error", 2221 "code": 2462 2222 }, 2223 "A binding pattern parameter cannot be optional in an implementation signature.": { 2224 "category": "Error", 2225 "code": 2463 2226 }, 2227 "A computed property name must be of type 'string', 'number', 'symbol', or 'any'.": { 2228 "category": "Error", 2229 "code": 2464 2230 }, 2231 "'this' cannot be referenced in a computed property name.": { 2232 "category": "Error", 2233 "code": 2465 2234 }, 2235 "'super' cannot be referenced in a computed property name.": { 2236 "category": "Error", 2237 "code": 2466 2238 }, 2239 "A computed property name cannot reference a type parameter from its containing type.": { 2240 "category": "Error", 2241 "code": 2467 2242 }, 2243 "Cannot find global value '{0}'.": { 2244 "category": "Error", 2245 "code": 2468 2246 }, 2247 "The '{0}' operator cannot be applied to type 'symbol'.": { 2248 "category": "Error", 2249 "code": 2469 2250 }, 2251 "Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher.": { 2252 "category": "Error", 2253 "code": 2472 2254 }, 2255 "Enum declarations must all be const or non-const.": { 2256 "category": "Error", 2257 "code": 2473 2258 }, 2259 "const enum member initializers can only contain literal values and other computed enum values.": { 2260 "category": "Error", 2261 "code": 2474 2262 }, 2263 "'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query.": { 2264 "category": "Error", 2265 "code": 2475 2266 }, 2267 "A const enum member can only be accessed using a string literal.": { 2268 "category": "Error", 2269 "code": 2476 2270 }, 2271 "'const' enum member initializer was evaluated to a non-finite value.": { 2272 "category": "Error", 2273 "code": 2477 2274 }, 2275 "'const' enum member initializer was evaluated to disallowed value 'NaN'.": { 2276 "category": "Error", 2277 "code": 2478 2278 }, 2279 "'let' is not allowed to be used as a name in 'let' or 'const' declarations.": { 2280 "category": "Error", 2281 "code": 2480 2282 }, 2283 "Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.": { 2284 "category": "Error", 2285 "code": 2481 2286 }, 2287 "The left-hand side of a 'for...of' statement cannot use a type annotation.": { 2288 "category": "Error", 2289 "code": 2483 2290 }, 2291 "Export declaration conflicts with exported declaration of '{0}'.": { 2292 "category": "Error", 2293 "code": 2484 2294 }, 2295 "The left-hand side of a 'for...of' statement must be a variable or a property access.": { 2296 "category": "Error", 2297 "code": 2487 2298 }, 2299 "Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator.": { 2300 "category": "Error", 2301 "code": 2488 2302 }, 2303 "An iterator must have a 'next()' method.": { 2304 "category": "Error", 2305 "code": 2489 2306 }, 2307 "The type returned by the '{0}()' method of an iterator must have a 'value' property.": { 2308 "category": "Error", 2309 "code": 2490 2310 }, 2311 "The left-hand side of a 'for...in' statement cannot be a destructuring pattern.": { 2312 "category": "Error", 2313 "code": 2491 2314 }, 2315 "Cannot redeclare identifier '{0}' in catch clause.": { 2316 "category": "Error", 2317 "code": 2492 2318 }, 2319 "Tuple type '{0}' of length '{1}' has no element at index '{2}'.": { 2320 "category": "Error", 2321 "code": 2493 2322 }, 2323 "Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.": { 2324 "category": "Error", 2325 "code": 2494 2326 }, 2327 "Type '{0}' is not an array type or a string type.": { 2328 "category": "Error", 2329 "code": 2495 2330 }, 2331 "The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.": { 2332 "category": "Error", 2333 "code": 2496 2334 }, 2335 "This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export.": { 2336 "category": "Error", 2337 "code": 2497 2338 }, 2339 "Module '{0}' uses 'export =' and cannot be used with 'export *'.": { 2340 "category": "Error", 2341 "code": 2498 2342 }, 2343 "An interface can only extend an identifier/qualified-name with optional type arguments.": { 2344 "category": "Error", 2345 "code": 2499 2346 }, 2347 "A class can only implement an identifier/qualified-name with optional type arguments.": { 2348 "category": "Error", 2349 "code": 2500 2350 }, 2351 "A rest element cannot contain a binding pattern.": { 2352 "category": "Error", 2353 "code": 2501 2354 }, 2355 "'{0}' is referenced directly or indirectly in its own type annotation.": { 2356 "category": "Error", 2357 "code": 2502 2358 }, 2359 "Cannot find namespace '{0}'.": { 2360 "category": "Error", 2361 "code": 2503 2362 }, 2363 "Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator.": { 2364 "category": "Error", 2365 "code": 2504 2366 }, 2367 "A generator cannot have a 'void' type annotation.": { 2368 "category": "Error", 2369 "code": 2505 2370 }, 2371 "'{0}' is referenced directly or indirectly in its own base expression.": { 2372 "category": "Error", 2373 "code": 2506 2374 }, 2375 "Type '{0}' is not a constructor function type.": { 2376 "category": "Error", 2377 "code": 2507 2378 }, 2379 "No base constructor has the specified number of type arguments.": { 2380 "category": "Error", 2381 "code": 2508 2382 }, 2383 "Base constructor return type '{0}' is not an object type or intersection of object types with statically known members.": { 2384 "category": "Error", 2385 "code": 2509 2386 }, 2387 "Base constructors must all have the same return type.": { 2388 "category": "Error", 2389 "code": 2510 2390 }, 2391 "Cannot create an instance of an abstract class.": { 2392 "category": "Error", 2393 "code": 2511 2394 }, 2395 "Overload signatures must all be abstract or non-abstract.": { 2396 "category": "Error", 2397 "code": 2512 2398 }, 2399 "Abstract method '{0}' in class '{1}' cannot be accessed via super expression.": { 2400 "category": "Error", 2401 "code": 2513 2402 }, 2403 "A tuple type cannot be indexed with a negative value.": { 2404 "category": "Error", 2405 "code": 2514 2406 }, 2407 "Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'.": { 2408 "category": "Error", 2409 "code": 2515 2410 }, 2411 "All declarations of an abstract method must be consecutive.": { 2412 "category": "Error", 2413 "code": 2516 2414 }, 2415 "Cannot assign an abstract constructor type to a non-abstract constructor type.": { 2416 "category": "Error", 2417 "code": 2517 2418 }, 2419 "A 'this'-based type guard is not compatible with a parameter-based type guard.": { 2420 "category": "Error", 2421 "code": 2518 2422 }, 2423 "An async iterator must have a 'next()' method.": { 2424 "category": "Error", 2425 "code": 2519 2426 }, 2427 "Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions.": { 2428 "category": "Error", 2429 "code": 2520 2430 }, 2431 "The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.": { 2432 "category": "Error", 2433 "code": 2522 2434 }, 2435 "'yield' expressions cannot be used in a parameter initializer.": { 2436 "category": "Error", 2437 "code": 2523 2438 }, 2439 "'await' expressions cannot be used in a parameter initializer.": { 2440 "category": "Error", 2441 "code": 2524 2442 }, 2443 "Initializer provides no value for this binding element and the binding element has no default value.": { 2444 "category": "Error", 2445 "code": 2525 2446 }, 2447 "A 'this' type is available only in a non-static member of a class or interface.": { 2448 "category": "Error", 2449 "code": 2526 2450 }, 2451 "The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.": { 2452 "category": "Error", 2453 "code": 2527 2454 }, 2455 "A module cannot have multiple default exports.": { 2456 "category": "Error", 2457 "code": 2528 2458 }, 2459 "Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions.": { 2460 "category": "Error", 2461 "code": 2529 2462 }, 2463 "Property '{0}' is incompatible with index signature.": { 2464 "category": "Error", 2465 "code": 2530 2466 }, 2467 "Object is possibly 'null'.": { 2468 "category": "Error", 2469 "code": 2531 2470 }, 2471 "Object is possibly 'undefined'.": { 2472 "category": "Error", 2473 "code": 2532 2474 }, 2475 "Object is possibly 'null' or 'undefined'.": { 2476 "category": "Error", 2477 "code": 2533 2478 }, 2479 "A function returning 'never' cannot have a reachable end point.": { 2480 "category": "Error", 2481 "code": 2534 2482 }, 2483 "Enum type '{0}' has members with initializers that are not literals.": { 2484 "category": "Error", 2485 "code": 2535 2486 }, 2487 "Type '{0}' cannot be used to index type '{1}'.": { 2488 "category": "Error", 2489 "code": 2536 2490 }, 2491 "Type '{0}' has no matching index signature for type '{1}'.": { 2492 "category": "Error", 2493 "code": 2537 2494 }, 2495 "Type '{0}' cannot be used as an index type.": { 2496 "category": "Error", 2497 "code": 2538 2498 }, 2499 "Cannot assign to '{0}' because it is not a variable.": { 2500 "category": "Error", 2501 "code": 2539 2502 }, 2503 "Cannot assign to '{0}' because it is a read-only property.": { 2504 "category": "Error", 2505 "code": 2540 2506 }, 2507 "Index signature in type '{0}' only permits reading.": { 2508 "category": "Error", 2509 "code": 2542 2510 }, 2511 "Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference.": { 2512 "category": "Error", 2513 "code": 2543 2514 }, 2515 "Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference.": { 2516 "category": "Error", 2517 "code": 2544 2518 }, 2519 "A mixin class must have a constructor with a single rest parameter of type 'any[]'.": { 2520 "category": "Error", 2521 "code": 2545 2522 }, 2523 "The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property.": { 2524 "category": "Error", 2525 "code": 2547 2526 }, 2527 "Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.": { 2528 "category": "Error", 2529 "code": 2548 2530 }, 2531 "Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator.": { 2532 "category": "Error", 2533 "code": 2549 2534 }, 2535 "Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later.": { 2536 "category": "Error", 2537 "code": 2550 2538 }, 2539 "Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?": { 2540 "category": "Error", 2541 "code": 2551 2542 }, 2543 "Cannot find name '{0}'. Did you mean '{1}'?": { 2544 "category": "Error", 2545 "code": 2552 2546 }, 2547 "Computed values are not permitted in an enum with string valued members.": { 2548 "category": "Error", 2549 "code": 2553 2550 }, 2551 "Expected {0} arguments, but got {1}.": { 2552 "category": "Error", 2553 "code": 2554 2554 }, 2555 "Expected at least {0} arguments, but got {1}.": { 2556 "category": "Error", 2557 "code": 2555 2558 }, 2559 "A spread argument must either have a tuple type or be passed to a rest parameter.": { 2560 "category": "Error", 2561 "code": 2556 2562 }, 2563 "Expected {0} type arguments, but got {1}.": { 2564 "category": "Error", 2565 "code": 2558 2566 }, 2567 "Type '{0}' has no properties in common with type '{1}'.": { 2568 "category": "Error", 2569 "code": 2559 2570 }, 2571 "Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?": { 2572 "category": "Error", 2573 "code": 2560 2574 }, 2575 "Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?": { 2576 "category": "Error", 2577 "code": 2561 2578 }, 2579 "Base class expressions cannot reference class type parameters.": { 2580 "category": "Error", 2581 "code": 2562 2582 }, 2583 "The containing function or module body is too large for control flow analysis.": { 2584 "category": "Error", 2585 "code": 2563 2586 }, 2587 "Property '{0}' has no initializer and is not definitely assigned in the constructor.": { 2588 "category": "Error", 2589 "code": 2564 2590 }, 2591 "Property '{0}' is used before being assigned.": { 2592 "category": "Error", 2593 "code": 2565 2594 }, 2595 "A rest element cannot have a property name.": { 2596 "category": "Error", 2597 "code": 2566 2598 }, 2599 "Enum declarations can only merge with namespace or other enum declarations.": { 2600 "category": "Error", 2601 "code": 2567 2602 }, 2603 "Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?": { 2604 "category": "Error", 2605 "code": 2568 2606 }, 2607 2608 "Could not find name '{0}'. Did you mean '{1}'?": { 2609 "category": "Error", 2610 "code": 2570 2611 }, 2612 "Object is of type 'unknown'.": { 2613 "category": "Error", 2614 "code": 2571 2615 }, 2616 "A rest element type must be an array type.": { 2617 "category": "Error", 2618 "code": 2574 2619 }, 2620 "No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments.": { 2621 "category": "Error", 2622 "code": 2575 2623 }, 2624 "Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?": { 2625 "category": "Error", 2626 "code": 2576 2627 }, 2628 "Return type annotation circularly references itself.": { 2629 "category": "Error", 2630 "code": 2577 2631 }, 2632 "Unused '@ts-expect-error' directive.": { 2633 "category": "Error", 2634 "code": 2578 2635 }, 2636 "Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.": { 2637 "category": "Error", 2638 "code": 2580 2639 }, 2640 "Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.": { 2641 "category": "Error", 2642 "code": 2581 2643 }, 2644 "Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.": { 2645 "category": "Error", 2646 "code": 2582 2647 }, 2648 "Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later.": { 2649 "category": "Error", 2650 "code": 2583 2651 }, 2652 "Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.": { 2653 "category": "Error", 2654 "code": 2584 2655 }, 2656 "'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.": { 2657 "category": "Error", 2658 "code": 2585 2659 }, 2660 "Cannot assign to '{0}' because it is a constant.": { 2661 "category": "Error", 2662 "code": 2588 2663 }, 2664 "Type instantiation is excessively deep and possibly infinite.": { 2665 "category": "Error", 2666 "code": 2589 2667 }, 2668 "Expression produces a union type that is too complex to represent.": { 2669 "category": "Error", 2670 "code": 2590 2671 }, 2672 "Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.": { 2673 "category": "Error", 2674 "code": 2591 2675 }, 2676 "Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig.": { 2677 "category": "Error", 2678 "code": 2592 2679 }, 2680 "Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.": { 2681 "category": "Error", 2682 "code": 2593 2683 }, 2684 "This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag.": { 2685 "category": "Error", 2686 "code": 2594 2687 }, 2688 "'{0}' can only be imported by using a default import.": { 2689 "category": "Error", 2690 "code": 2595 2691 }, 2692 "'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import.": { 2693 "category": "Error", 2694 "code": 2596 2695 }, 2696 "'{0}' can only be imported by using a 'require' call or by using a default import.": { 2697 "category": "Error", 2698 "code": 2597 2699 }, 2700 "'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import.": { 2701 "category": "Error", 2702 "code": 2598 2703 }, 2704 "JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist.": { 2705 "category": "Error", 2706 "code": 2602 2707 }, 2708 "Property '{0}' in type '{1}' is not assignable to type '{2}'.": { 2709 "category": "Error", 2710 "code": 2603 2711 }, 2712 "JSX element type '{0}' does not have any construct or call signatures.": { 2713 "category": "Error", 2714 "code": 2604 2715 }, 2716 "Property '{0}' of JSX spread attribute is not assignable to target property.": { 2717 "category": "Error", 2718 "code": 2606 2719 }, 2720 "JSX element class does not support attributes because it does not have a '{0}' property.": { 2721 "category": "Error", 2722 "code": 2607 2723 }, 2724 "The global type 'JSX.{0}' may not have more than one property.": { 2725 "category": "Error", 2726 "code": 2608 2727 }, 2728 "JSX spread child must be an array type.": { 2729 "category": "Error", 2730 "code": 2609 2731 }, 2732 "'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property.": { 2733 "category": "Error", 2734 "code": 2610 2735 }, 2736 "'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor.": { 2737 "category": "Error", 2738 "code": 2611 2739 }, 2740 "Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.": { 2741 "category": "Error", 2742 "code": 2612 2743 }, 2744 "Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?": { 2745 "category": "Error", 2746 "code": 2613 2747 }, 2748 "Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?": { 2749 "category": "Error", 2750 "code": 2614 2751 }, 2752 "Type of property '{0}' circularly references itself in mapped type '{1}'.": { 2753 "category": "Error", 2754 "code": 2615 2755 }, 2756 "'{0}' can only be imported by using 'import {1} = require({2})' or a default import.": { 2757 "category": "Error", 2758 "code": 2616 2759 }, 2760 "'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import.": { 2761 "category": "Error", 2762 "code": 2617 2763 }, 2764 "Source has {0} element(s) but target requires {1}.": { 2765 "category": "Error", 2766 "code": 2618 2767 }, 2768 "Source has {0} element(s) but target allows only {1}.": { 2769 "category": "Error", 2770 "code": 2619 2771 }, 2772 "Target requires {0} element(s) but source may have fewer.": { 2773 "category": "Error", 2774 "code": 2620 2775 }, 2776 "Target allows only {0} element(s) but source may have more.": { 2777 "category": "Error", 2778 "code": 2621 2779 }, 2780 "Source provides no match for required element at position {0} in target.": { 2781 "category": "Error", 2782 "code": 2623 2783 }, 2784 "Source provides no match for variadic element at position {0} in target.": { 2785 "category": "Error", 2786 "code": 2624 2787 }, 2788 "Variadic element at position {0} in source does not match element at position {1} in target.": { 2789 "category": "Error", 2790 "code": 2625 2791 }, 2792 "Type at position {0} in source is not compatible with type at position {1} in target.": { 2793 "category": "Error", 2794 "code": 2626 2795 }, 2796 "Type at positions {0} through {1} in source is not compatible with type at position {2} in target.": { 2797 "category": "Error", 2798 "code": 2627 2799 }, 2800 "Cannot assign to '{0}' because it is an enum.": { 2801 "category": "Error", 2802 "code": 2628 2803 }, 2804 "Cannot assign to '{0}' because it is a class.": { 2805 "category": "Error", 2806 "code": 2629 2807 }, 2808 "Cannot assign to '{0}' because it is a function.": { 2809 "category": "Error", 2810 "code": 2630 2811 }, 2812 "Cannot assign to '{0}' because it is a namespace.": { 2813 "category": "Error", 2814 "code": 2631 2815 }, 2816 "Cannot assign to '{0}' because it is an import.": { 2817 "category": "Error", 2818 "code": 2632 2819 }, 2820 "JSX property access expressions cannot include JSX namespace names": { 2821 "category": "Error", 2822 "code": 2633 2823 }, 2824 "'{0}' index signatures are incompatible.": { 2825 "category": "Error", 2826 "code": 2634 2827 }, 2828 "Type '{0}' has no signatures for which the type argument list is applicable.": { 2829 "category": "Error", 2830 "code": 2635 2831 }, 2832 "Type '{0}' is not assignable to type '{1}' as implied by variance annotation.": { 2833 "category": "Error", 2834 "code": 2636 2835 }, 2836 "Variance annotations are only supported in type aliases for object, function, constructor, and mapped types.": { 2837 "category": "Error", 2838 "code": 2637 2839 }, 2840 "Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.": { 2841 "category": "Error", 2842 "code": 2638 2843 }, 2844 2845 "Cannot augment module '{0}' with value exports because it resolves to a non-module entity.": { 2846 "category": "Error", 2847 "code": 2649 2848 }, 2849 "A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.": { 2850 "category": "Error", 2851 "code": 2651 2852 }, 2853 "Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead.": { 2854 "category": "Error", 2855 "code": 2652 2856 }, 2857 "Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'.": { 2858 "category": "Error", 2859 "code": 2653 2860 }, 2861 "JSX expressions must have one parent element.": { 2862 "category": "Error", 2863 "code": 2657 2864 }, 2865 "Type '{0}' provides no match for the signature '{1}'.": { 2866 "category": "Error", 2867 "code": 2658 2868 }, 2869 "'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher.": { 2870 "category": "Error", 2871 "code": 2659 2872 }, 2873 "'super' can only be referenced in members of derived classes or object literal expressions.": { 2874 "category": "Error", 2875 "code": 2660 2876 }, 2877 "Cannot export '{0}'. Only local declarations can be exported from a module.": { 2878 "category": "Error", 2879 "code": 2661 2880 }, 2881 "Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?": { 2882 "category": "Error", 2883 "code": 2662 2884 }, 2885 "Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?": { 2886 "category": "Error", 2887 "code": 2663 2888 }, 2889 "Invalid module name in augmentation, module '{0}' cannot be found.": { 2890 "category": "Error", 2891 "code": 2664 2892 }, 2893 "Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.": { 2894 "category": "Error", 2895 "code": 2665 2896 }, 2897 "Exports and export assignments are not permitted in module augmentations.": { 2898 "category": "Error", 2899 "code": 2666 2900 }, 2901 "Imports are not permitted in module augmentations. Consider moving them to the enclosing external module.": { 2902 "category": "Error", 2903 "code": 2667 2904 }, 2905 "'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.": { 2906 "category": "Error", 2907 "code": 2668 2908 }, 2909 "Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.": { 2910 "category": "Error", 2911 "code": 2669 2912 }, 2913 "Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context.": { 2914 "category": "Error", 2915 "code": 2670 2916 }, 2917 "Cannot augment module '{0}' because it resolves to a non-module entity.": { 2918 "category": "Error", 2919 "code": 2671 2920 }, 2921 "Cannot assign a '{0}' constructor type to a '{1}' constructor type.": { 2922 "category": "Error", 2923 "code": 2672 2924 }, 2925 "Constructor of class '{0}' is private and only accessible within the class declaration.": { 2926 "category": "Error", 2927 "code": 2673 2928 }, 2929 "Constructor of class '{0}' is protected and only accessible within the class declaration.": { 2930 "category": "Error", 2931 "code": 2674 2932 }, 2933 "Cannot extend a class '{0}'. Class constructor is marked as private.": { 2934 "category": "Error", 2935 "code": 2675 2936 }, 2937 "Accessors must both be abstract or non-abstract.": { 2938 "category": "Error", 2939 "code": 2676 2940 }, 2941 "A type predicate's type must be assignable to its parameter's type.": { 2942 "category": "Error", 2943 "code": 2677 2944 }, 2945 "Type '{0}' is not comparable to type '{1}'.": { 2946 "category": "Error", 2947 "code": 2678 2948 }, 2949 "A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'.": { 2950 "category": "Error", 2951 "code": 2679 2952 }, 2953 "A '{0}' parameter must be the first parameter.": { 2954 "category": "Error", 2955 "code": 2680 2956 }, 2957 "A constructor cannot have a 'this' parameter.": { 2958 "category": "Error", 2959 "code": 2681 2960 }, 2961 "'this' implicitly has type 'any' because it does not have a type annotation.": { 2962 "category": "Error", 2963 "code": 2683 2964 }, 2965 "The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'.": { 2966 "category": "Error", 2967 "code": 2684 2968 }, 2969 "The 'this' types of each signature are incompatible.": { 2970 "category": "Error", 2971 "code": 2685 2972 }, 2973 "'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead.": { 2974 "category": "Error", 2975 "code": 2686 2976 }, 2977 "All declarations of '{0}' must have identical modifiers.": { 2978 "category": "Error", 2979 "code": 2687 2980 }, 2981 "Cannot find type definition file for '{0}'.": { 2982 "category": "Error", 2983 "code": 2688 2984 }, 2985 "Cannot extend an interface '{0}'. Did you mean 'implements'?": { 2986 "category": "Error", 2987 "code": 2689 2988 }, 2989 "'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?": { 2990 "category": "Error", 2991 "code": 2690 2992 }, 2993 "An import path cannot end with a '{0}' extension. Consider importing '{1}' instead.": { 2994 "category": "Error", 2995 "code": 2691 2996 }, 2997 "'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible.": { 2998 "category": "Error", 2999 "code": 2692 3000 }, 3001 "'{0}' only refers to a type, but is being used as a value here.": { 3002 "category": "Error", 3003 "code": 2693 3004 }, 3005 "Namespace '{0}' has no exported member '{1}'.": { 3006 "category": "Error", 3007 "code": 2694 3008 }, 3009 "Left side of comma operator is unused and has no side effects.": { 3010 "category": "Error", 3011 "code": 2695, 3012 "reportsUnnecessary": true 3013 }, 3014 "The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?": { 3015 "category": "Error", 3016 "code": 2696 3017 }, 3018 "An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.": { 3019 "category": "Error", 3020 "code": 2697 3021 }, 3022 "Spread types may only be created from object types.": { 3023 "category": "Error", 3024 "code": 2698 3025 }, 3026 "Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'.": { 3027 "category": "Error", 3028 "code": 2699 3029 }, 3030 "Rest types may only be created from object types.": { 3031 "category": "Error", 3032 "code": 2700 3033 }, 3034 "The target of an object rest assignment must be a variable or a property access.": { 3035 "category": "Error", 3036 "code": 2701 3037 }, 3038 "'{0}' only refers to a type, but is being used as a namespace here.": { 3039 "category": "Error", 3040 "code": 2702 3041 }, 3042 "The operand of a 'delete' operator must be a property reference.": { 3043 "category": "Error", 3044 "code": 2703 3045 }, 3046 "The operand of a 'delete' operator cannot be a read-only property.": { 3047 "category": "Error", 3048 "code": 2704 3049 }, 3050 "An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": { 3051 "category": "Error", 3052 "code": 2705 3053 }, 3054 "Required type parameters may not follow optional type parameters.": { 3055 "category": "Error", 3056 "code": 2706 3057 }, 3058 "Generic type '{0}' requires between {1} and {2} type arguments.": { 3059 "category": "Error", 3060 "code": 2707 3061 }, 3062 "Cannot use namespace '{0}' as a value.": { 3063 "category": "Error", 3064 "code": 2708 3065 }, 3066 "Cannot use namespace '{0}' as a type.": { 3067 "category": "Error", 3068 "code": 2709 3069 }, 3070 "'{0}' are specified twice. The attribute named '{0}' will be overwritten.": { 3071 "category": "Error", 3072 "code": 2710 3073 }, 3074 "A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.": { 3075 "category": "Error", 3076 "code": 2711 3077 }, 3078 "A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": { 3079 "category": "Error", 3080 "code": 2712 3081 }, 3082 "Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?": { 3083 "category": "Error", 3084 "code": 2713 3085 }, 3086 "The expression of an export assignment must be an identifier or qualified name in an ambient context.": { 3087 "category": "Error", 3088 "code": 2714 3089 }, 3090 "Abstract property '{0}' in class '{1}' cannot be accessed in the constructor.": { 3091 "category": "Error", 3092 "code": 2715 3093 }, 3094 "Type parameter '{0}' has a circular default.": { 3095 "category": "Error", 3096 "code": 2716 3097 }, 3098 "Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'.": { 3099 "category": "Error", 3100 "code": 2717 3101 }, 3102 "Duplicate property '{0}'.": { 3103 "category": "Error", 3104 "code": 2718 3105 }, 3106 "Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated.": { 3107 "category": "Error", 3108 "code": 2719 3109 }, 3110 "Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?": { 3111 "category": "Error", 3112 "code": 2720 3113 }, 3114 "Cannot invoke an object which is possibly 'null'.": { 3115 "category": "Error", 3116 "code": 2721 3117 }, 3118 "Cannot invoke an object which is possibly 'undefined'.": { 3119 "category": "Error", 3120 "code": 2722 3121 }, 3122 "Cannot invoke an object which is possibly 'null' or 'undefined'.": { 3123 "category": "Error", 3124 "code": 2723 3125 }, 3126 "'{0}' has no exported member named '{1}'. Did you mean '{2}'?": { 3127 "category": "Error", 3128 "code": 2724 3129 }, 3130 "Class name cannot be 'Object' when targeting ES5 with module {0}.": { 3131 "category": "Error", 3132 "code": 2725 3133 }, 3134 "Cannot find lib definition for '{0}'.": { 3135 "category": "Error", 3136 "code": 2726 3137 }, 3138 "Cannot find lib definition for '{0}'. Did you mean '{1}'?": { 3139 "category": "Error", 3140 "code": 2727 3141 }, 3142 "'{0}' is declared here.": { 3143 "category": "Message", 3144 "code": 2728 3145 }, 3146 "Property '{0}' is used before its initialization.": { 3147 "category": "Error", 3148 "code": 2729 3149 }, 3150 "An arrow function cannot have a 'this' parameter.": { 3151 "category": "Error", 3152 "code": 2730 3153 }, 3154 "Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.": { 3155 "category": "Error", 3156 "code": 2731 3157 }, 3158 "Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension.": { 3159 "category": "Error", 3160 "code": 2732 3161 }, 3162 "Property '{0}' was also declared here.": { 3163 "category": "Error", 3164 "code": 2733 3165 }, 3166 "Are you missing a semicolon?": { 3167 "category": "Error", 3168 "code": 2734 3169 }, 3170 "Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?": { 3171 "category": "Error", 3172 "code": 2735 3173 }, 3174 "Operator '{0}' cannot be applied to type '{1}'.": { 3175 "category": "Error", 3176 "code": 2736 3177 }, 3178 "BigInt literals are not available when targeting lower than ES2020.": { 3179 "category": "Error", 3180 "code": 2737 3181 }, 3182 "An outer value of 'this' is shadowed by this container.": { 3183 "category": "Message", 3184 "code": 2738 3185 }, 3186 "Type '{0}' is missing the following properties from type '{1}': {2}": { 3187 "category": "Error", 3188 "code": 2739 3189 }, 3190 "Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more.": { 3191 "category": "Error", 3192 "code": 2740 3193 }, 3194 "Property '{0}' is missing in type '{1}' but required in type '{2}'.": { 3195 "category": "Error", 3196 "code": 2741 3197 }, 3198 "The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary.": { 3199 "category": "Error", 3200 "code": 2742 3201 }, 3202 "No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments.": { 3203 "category": "Error", 3204 "code": 2743 3205 }, 3206 "Type parameter defaults can only reference previously declared type parameters.": { 3207 "category": "Error", 3208 "code": 2744 3209 }, 3210 "This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided.": { 3211 "category": "Error", 3212 "code": 2745 3213 }, 3214 "This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided.": { 3215 "category": "Error", 3216 "code": 2746 3217 }, 3218 "'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'.": { 3219 "category": "Error", 3220 "code": 2747 3221 }, 3222 "Cannot access ambient const enums when the '--isolatedModules' flag is provided.": { 3223 "category": "Error", 3224 "code": 2748 3225 }, 3226 "'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?": { 3227 "category": "Error", 3228 "code": 2749 3229 }, 3230 "The implementation signature is declared here.": { 3231 "category": "Error", 3232 "code": 2750 3233 }, 3234 "Circularity originates in type at this location.": { 3235 "category": "Error", 3236 "code": 2751 3237 }, 3238 "The first export default is here.": { 3239 "category": "Error", 3240 "code": 2752 3241 }, 3242 "Another export default is here.": { 3243 "category": "Error", 3244 "code": 2753 3245 }, 3246 "'super' may not use type arguments.": { 3247 "category": "Error", 3248 "code": 2754 3249 }, 3250 "No constituent of type '{0}' is callable.": { 3251 "category": "Error", 3252 "code": 2755 3253 }, 3254 "Not all constituents of type '{0}' are callable.": { 3255 "category": "Error", 3256 "code": 2756 3257 }, 3258 "Type '{0}' has no call signatures.": { 3259 "category": "Error", 3260 "code": 2757 3261 }, 3262 "Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other.": { 3263 "category": "Error", 3264 "code": 2758 3265 }, 3266 "No constituent of type '{0}' is constructable.": { 3267 "category": "Error", 3268 "code": 2759 3269 }, 3270 "Not all constituents of type '{0}' are constructable.": { 3271 "category": "Error", 3272 "code": 2760 3273 }, 3274 "Type '{0}' has no construct signatures.": { 3275 "category": "Error", 3276 "code": 2761 3277 }, 3278 "Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other.": { 3279 "category": "Error", 3280 "code": 2762 3281 }, 3282 "Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'.": { 3283 "category": "Error", 3284 "code": 2763 3285 }, 3286 "Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'.": { 3287 "category": "Error", 3288 "code": 2764 3289 }, 3290 "Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'.": { 3291 "category": "Error", 3292 "code": 2765 3293 }, 3294 "Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'.": { 3295 "category": "Error", 3296 "code": 2766 3297 }, 3298 "The '{0}' property of an iterator must be a method.": { 3299 "category": "Error", 3300 "code": 2767 3301 }, 3302 "The '{0}' property of an async iterator must be a method.": { 3303 "category": "Error", 3304 "code": 2768 3305 }, 3306 "No overload matches this call.": { 3307 "category": "Error", 3308 "code": 2769 3309 }, 3310 "The last overload gave the following error.": { 3311 "category": "Error", 3312 "code": 2770 3313 }, 3314 "The last overload is declared here.": { 3315 "category": "Error", 3316 "code": 2771 3317 }, 3318 "Overload {0} of {1}, '{2}', gave the following error.": { 3319 "category": "Error", 3320 "code": 2772 3321 }, 3322 "Did you forget to use 'await'?": { 3323 "category": "Error", 3324 "code": 2773 3325 }, 3326 "This condition will always return true since this function is always defined. Did you mean to call it instead?": { 3327 "category": "Error", 3328 "code": 2774 3329 }, 3330 "Assertions require every name in the call target to be declared with an explicit type annotation.": { 3331 "category": "Error", 3332 "code": 2775 3333 }, 3334 "Assertions require the call target to be an identifier or qualified name.": { 3335 "category": "Error", 3336 "code": 2776 3337 }, 3338 "The operand of an increment or decrement operator may not be an optional property access.": { 3339 "category": "Error", 3340 "code": 2777 3341 }, 3342 "The target of an object rest assignment may not be an optional property access.": { 3343 "category": "Error", 3344 "code": 2778 3345 }, 3346 "The left-hand side of an assignment expression may not be an optional property access.": { 3347 "category": "Error", 3348 "code": 2779 3349 }, 3350 "The left-hand side of a 'for...in' statement may not be an optional property access.": { 3351 "category": "Error", 3352 "code": 2780 3353 }, 3354 "The left-hand side of a 'for...of' statement may not be an optional property access.": { 3355 "category": "Error", 3356 "code": 2781 3357 }, 3358 "'{0}' needs an explicit type annotation.": { 3359 "category": "Message", 3360 "code": 2782 3361 }, 3362 "'{0}' is specified more than once, so this usage will be overwritten.": { 3363 "category": "Error", 3364 "code": 2783 3365 }, 3366 "'get' and 'set' accessors cannot declare 'this' parameters.": { 3367 "category": "Error", 3368 "code": 2784 3369 }, 3370 "This spread always overwrites this property.": { 3371 "category": "Error", 3372 "code": 2785 3373 }, 3374 "'{0}' cannot be used as a JSX component.": { 3375 "category": "Error", 3376 "code": 2786 3377 }, 3378 "Its return type '{0}' is not a valid JSX element.": { 3379 "category": "Error", 3380 "code": 2787 3381 }, 3382 "Its instance type '{0}' is not a valid JSX element.": { 3383 "category": "Error", 3384 "code": 2788 3385 }, 3386 "Its element type '{0}' is not a valid JSX element.": { 3387 "category": "Error", 3388 "code": 2789 3389 }, 3390 "The operand of a 'delete' operator must be optional.": { 3391 "category": "Error", 3392 "code": 2790 3393 }, 3394 "Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later.": { 3395 "category": "Error", 3396 "code": 2791 3397 }, 3398 "Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?": { 3399 "category": "Error", 3400 "code": 2792 3401 }, 3402 "The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible.": { 3403 "category": "Error", 3404 "code": 2793 3405 }, 3406 "Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?": { 3407 "category": "Error", 3408 "code": 2794 3409 }, 3410 "The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types.": { 3411 "category": "Error", 3412 "code": 2795 3413 }, 3414 "It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked.": { 3415 "category": "Error", 3416 "code": 2796 3417 }, 3418 "A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'.": { 3419 "category": "Error", 3420 "code": 2797 3421 }, 3422 "The declaration was marked as deprecated here.": { 3423 "category": "Error", 3424 "code": 2798 3425 }, 3426 "Type produces a tuple type that is too large to represent.": { 3427 "category": "Error", 3428 "code": 2799 3429 }, 3430 "Expression produces a tuple type that is too large to represent.": { 3431 "category": "Error", 3432 "code": 2800 3433 }, 3434 "This condition will always return true since this '{0}' is always defined.": { 3435 "category": "Error", 3436 "code": 2801 3437 }, 3438 "Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.": { 3439 "category": "Error", 3440 "code": 2802 3441 }, 3442 "Cannot assign to private method '{0}'. Private methods are not writable.": { 3443 "category": "Error", 3444 "code": 2803 3445 }, 3446 "Duplicate identifier '{0}'. Static and instance elements cannot share the same private name.": { 3447 "category": "Error", 3448 "code": 2804 3449 }, 3450 "Private accessor was defined without a getter.": { 3451 "category": "Error", 3452 "code": 2806 3453 }, 3454 "This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'.": { 3455 "category": "Error", 3456 "code": 2807 3457 }, 3458 "A get accessor must be at least as accessible as the setter": { 3459 "category": "Error", 3460 "code": 2808 3461 }, 3462 "Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses.": { 3463 "category": "Error", 3464 "code": 2809 3465 }, 3466 "Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.": { 3467 "category": "Error", 3468 "code": 2810 3469 }, 3470 "Initializer for property '{0}'": { 3471 "category": "Error", 3472 "code": 2811 3473 }, 3474 "Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'.": { 3475 "category": "Error", 3476 "code": 2812 3477 }, 3478 "Class declaration cannot implement overload list for '{0}'.": { 3479 "category": "Error", 3480 "code": 2813 3481 }, 3482 "Function with bodies can only merge with classes that are ambient.": { 3483 "category": "Error", 3484 "code": 2814 3485 }, 3486 "'arguments' cannot be referenced in property initializers.": { 3487 "category": "Error", 3488 "code": 2815 3489 }, 3490 "Cannot use 'this' in a static property initializer of a decorated class.": { 3491 "category": "Error", 3492 "code": 2816 3493 }, 3494 "Property '{0}' has no initializer and is not definitely assigned in a class static block.": { 3495 "category": "Error", 3496 "code": 2817 3497 }, 3498 "Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers.": { 3499 "category": "Error", 3500 "code": 2818 3501 }, 3502 "Namespace name cannot be '{0}'.": { 3503 "category": "Error", 3504 "code": 2819 3505 }, 3506 "Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?": { 3507 "category": "Error", 3508 "code": 2820 3509 }, 3510 "Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'.": { 3511 "category": "Error", 3512 "code": 2821 3513 }, 3514 "Import assertions cannot be used with type-only imports or exports.": { 3515 "category": "Error", 3516 "code": 2822 3517 }, 3518 "Cannot find namespace '{0}'. Did you mean '{1}'?": { 3519 "category": "Error", 3520 "code": 2833 3521 }, 3522 "Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.": { 3523 "category": "Error", 3524 "code": 2834 3525 }, 3526 "Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?": { 3527 "category": "Error", 3528 "code": 2835 3529 }, 3530 "Import assertions are not allowed on statements that transpile to commonjs 'require' calls.": { 3531 "category": "Error", 3532 "code": 2836 3533 }, 3534 "Import assertion values must be string literal expressions.": { 3535 "category": "Error", 3536 "code": 2837 3537 }, 3538 "All declarations of '{0}' must have identical constraints.": { 3539 "category": "Error", 3540 "code": 2838 3541 }, 3542 "This condition will always return '{0}' since JavaScript compares objects by reference, not value.": { 3543 "category": "Error", 3544 "code": 2839 3545 }, 3546 "An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes": { 3547 "category": "Error", 3548 "code": 2840 3549 }, 3550 "The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": { 3551 "category": "Error", 3552 "code": 2841 3553 }, 3554 "'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?": { 3555 "category": "Error", 3556 "code": 2842 3557 }, 3558 "We can only write a type for '{0}' by adding a type for the entire parameter here.": { 3559 "category": "Error", 3560 "code": 2843 3561 }, 3562 "Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.": { 3563 "category": "Error", 3564 "code": 2844 3565 }, 3566 "This condition will always return '{0}'.": { 3567 "category": "Error", 3568 "code": 2845 3569 }, 3570 3571 "Import declaration '{0}' is using private name '{1}'.": { 3572 "category": "Error", 3573 "code": 4000 3574 }, 3575 "Type parameter '{0}' of exported class has or is using private name '{1}'.": { 3576 "category": "Error", 3577 "code": 4002 3578 }, 3579 "Type parameter '{0}' of exported interface has or is using private name '{1}'.": { 3580 "category": "Error", 3581 "code": 4004 3582 }, 3583 "Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.": { 3584 "category": "Error", 3585 "code": 4006 3586 }, 3587 "Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'.": { 3588 "category": "Error", 3589 "code": 4008 3590 }, 3591 "Type parameter '{0}' of public static method from exported class has or is using private name '{1}'.": { 3592 "category": "Error", 3593 "code": 4010 3594 }, 3595 "Type parameter '{0}' of public method from exported class has or is using private name '{1}'.": { 3596 "category": "Error", 3597 "code": 4012 3598 }, 3599 "Type parameter '{0}' of method from exported interface has or is using private name '{1}'.": { 3600 "category": "Error", 3601 "code": 4014 3602 }, 3603 "Type parameter '{0}' of exported function has or is using private name '{1}'.": { 3604 "category": "Error", 3605 "code": 4016 3606 }, 3607 "Implements clause of exported class '{0}' has or is using private name '{1}'.": { 3608 "category": "Error", 3609 "code": 4019 3610 }, 3611 "'extends' clause of exported class '{0}' has or is using private name '{1}'.": { 3612 "category": "Error", 3613 "code": 4020 3614 }, 3615 "'extends' clause of exported class has or is using private name '{0}'.": { 3616 "category": "Error", 3617 "code": 4021 3618 }, 3619 "'extends' clause of exported interface '{0}' has or is using private name '{1}'.": { 3620 "category": "Error", 3621 "code": 4022 3622 }, 3623 "Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named.": { 3624 "category": "Error", 3625 "code": 4023 3626 }, 3627 "Exported variable '{0}' has or is using name '{1}' from private module '{2}'.": { 3628 "category": "Error", 3629 "code": 4024 3630 }, 3631 "Exported variable '{0}' has or is using private name '{1}'.": { 3632 "category": "Error", 3633 "code": 4025 3634 }, 3635 "Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3636 "category": "Error", 3637 "code": 4026 3638 }, 3639 "Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { 3640 "category": "Error", 3641 "code": 4027 3642 }, 3643 "Public static property '{0}' of exported class has or is using private name '{1}'.": { 3644 "category": "Error", 3645 "code": 4028 3646 }, 3647 "Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3648 "category": "Error", 3649 "code": 4029 3650 }, 3651 "Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { 3652 "category": "Error", 3653 "code": 4030 3654 }, 3655 "Public property '{0}' of exported class has or is using private name '{1}'.": { 3656 "category": "Error", 3657 "code": 4031 3658 }, 3659 "Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'.": { 3660 "category": "Error", 3661 "code": 4032 3662 }, 3663 "Property '{0}' of exported interface has or is using private name '{1}'.": { 3664 "category": "Error", 3665 "code": 4033 3666 }, 3667 "Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { 3668 "category": "Error", 3669 "code": 4034 3670 }, 3671 "Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'.": { 3672 "category": "Error", 3673 "code": 4035 3674 }, 3675 "Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { 3676 "category": "Error", 3677 "code": 4036 3678 }, 3679 "Parameter type of public setter '{0}' from exported class has or is using private name '{1}'.": { 3680 "category": "Error", 3681 "code": 4037 3682 }, 3683 "Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3684 "category": "Error", 3685 "code": 4038 3686 }, 3687 "Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { 3688 "category": "Error", 3689 "code": 4039 3690 }, 3691 "Return type of public static getter '{0}' from exported class has or is using private name '{1}'.": { 3692 "category": "Error", 3693 "code": 4040 3694 }, 3695 "Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3696 "category": "Error", 3697 "code": 4041 3698 }, 3699 "Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { 3700 "category": "Error", 3701 "code": 4042 3702 }, 3703 "Return type of public getter '{0}' from exported class has or is using private name '{1}'.": { 3704 "category": "Error", 3705 "code": 4043 3706 }, 3707 "Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'.": { 3708 "category": "Error", 3709 "code": 4044 3710 }, 3711 "Return type of constructor signature from exported interface has or is using private name '{0}'.": { 3712 "category": "Error", 3713 "code": 4045 3714 }, 3715 "Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'.": { 3716 "category": "Error", 3717 "code": 4046 3718 }, 3719 "Return type of call signature from exported interface has or is using private name '{0}'.": { 3720 "category": "Error", 3721 "code": 4047 3722 }, 3723 "Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'.": { 3724 "category": "Error", 3725 "code": 4048 3726 }, 3727 "Return type of index signature from exported interface has or is using private name '{0}'.": { 3728 "category": "Error", 3729 "code": 4049 3730 }, 3731 "Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named.": { 3732 "category": "Error", 3733 "code": 4050 3734 }, 3735 "Return type of public static method from exported class has or is using name '{0}' from private module '{1}'.": { 3736 "category": "Error", 3737 "code": 4051 3738 }, 3739 "Return type of public static method from exported class has or is using private name '{0}'.": { 3740 "category": "Error", 3741 "code": 4052 3742 }, 3743 "Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named.": { 3744 "category": "Error", 3745 "code": 4053 3746 }, 3747 "Return type of public method from exported class has or is using name '{0}' from private module '{1}'.": { 3748 "category": "Error", 3749 "code": 4054 3750 }, 3751 "Return type of public method from exported class has or is using private name '{0}'.": { 3752 "category": "Error", 3753 "code": 4055 3754 }, 3755 "Return type of method from exported interface has or is using name '{0}' from private module '{1}'.": { 3756 "category": "Error", 3757 "code": 4056 3758 }, 3759 "Return type of method from exported interface has or is using private name '{0}'.": { 3760 "category": "Error", 3761 "code": 4057 3762 }, 3763 "Return type of exported function has or is using name '{0}' from external module {1} but cannot be named.": { 3764 "category": "Error", 3765 "code": 4058 3766 }, 3767 "Return type of exported function has or is using name '{0}' from private module '{1}'.": { 3768 "category": "Error", 3769 "code": 4059 3770 }, 3771 "Return type of exported function has or is using private name '{0}'.": { 3772 "category": "Warning", 3773 "code": 4060 3774 }, 3775 "Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3776 "category": "Error", 3777 "code": 4061 3778 }, 3779 "Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'.": { 3780 "category": "Error", 3781 "code": 4062 3782 }, 3783 "Parameter '{0}' of constructor from exported class has or is using private name '{1}'.": { 3784 "category": "Error", 3785 "code": 4063 3786 }, 3787 "Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'.": { 3788 "category": "Error", 3789 "code": 4064 3790 }, 3791 "Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.": { 3792 "category": "Error", 3793 "code": 4065 3794 }, 3795 "Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'.": { 3796 "category": "Error", 3797 "code": 4066 3798 }, 3799 "Parameter '{0}' of call signature from exported interface has or is using private name '{1}'.": { 3800 "category": "Error", 3801 "code": 4067 3802 }, 3803 "Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3804 "category": "Error", 3805 "code": 4068 3806 }, 3807 "Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'.": { 3808 "category": "Error", 3809 "code": 4069 3810 }, 3811 "Parameter '{0}' of public static method from exported class has or is using private name '{1}'.": { 3812 "category": "Error", 3813 "code": 4070 3814 }, 3815 "Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3816 "category": "Error", 3817 "code": 4071 3818 }, 3819 "Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'.": { 3820 "category": "Error", 3821 "code": 4072 3822 }, 3823 "Parameter '{0}' of public method from exported class has or is using private name '{1}'.": { 3824 "category": "Error", 3825 "code": 4073 3826 }, 3827 "Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'.": { 3828 "category": "Error", 3829 "code": 4074 3830 }, 3831 "Parameter '{0}' of method from exported interface has or is using private name '{1}'.": { 3832 "category": "Error", 3833 "code": 4075 3834 }, 3835 "Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named.": { 3836 "category": "Error", 3837 "code": 4076 3838 }, 3839 "Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'.": { 3840 "category": "Error", 3841 "code": 4077 3842 }, 3843 "Parameter '{0}' of exported function has or is using private name '{1}'.": { 3844 "category": "Error", 3845 "code": 4078 3846 }, 3847 "Exported type alias '{0}' has or is using private name '{1}'.": { 3848 "category": "Error", 3849 "code": 4081 3850 }, 3851 "Default export of the module has or is using private name '{0}'.": { 3852 "category": "Error", 3853 "code": 4082 3854 }, 3855 "Type parameter '{0}' of exported type alias has or is using private name '{1}'.": { 3856 "category": "Error", 3857 "code": 4083 3858 }, 3859 "Exported type alias '{0}' has or is using private name '{1}' from module {2}.": { 3860 "category": "Error", 3861 "code": 4084 3862 }, 3863 "Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict.": { 3864 "category": "Error", 3865 "code": 4090 3866 }, 3867 "Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'.": { 3868 "category": "Error", 3869 "code": 4091 3870 }, 3871 "Parameter '{0}' of index signature from exported interface has or is using private name '{1}'.": { 3872 "category": "Error", 3873 "code": 4092 3874 }, 3875 "Property '{0}' of exported class expression may not be private or protected.": { 3876 "category": "Error", 3877 "code": 4094 3878 }, 3879 "Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3880 "category": "Error", 3881 "code": 4095 3882 }, 3883 "Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { 3884 "category": "Error", 3885 "code": 4096 3886 }, 3887 "Public static method '{0}' of exported class has or is using private name '{1}'.": { 3888 "category": "Error", 3889 "code": 4097 3890 }, 3891 "Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { 3892 "category": "Error", 3893 "code": 4098 3894 }, 3895 "Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { 3896 "category": "Error", 3897 "code": 4099 3898 }, 3899 "Public method '{0}' of exported class has or is using private name '{1}'.": { 3900 "category": "Error", 3901 "code": 4100 3902 }, 3903 "Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.": { 3904 "category": "Error", 3905 "code": 4101 3906 }, 3907 "Method '{0}' of exported interface has or is using private name '{1}'.": { 3908 "category": "Error", 3909 "code": 4102 3910 }, 3911 "Type parameter '{0}' of exported mapped object type is using private name '{1}'.": { 3912 "category": "Error", 3913 "code": 4103 3914 }, 3915 "The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'.": { 3916 "category": "Error", 3917 "code": 4104 3918 }, 3919 "Private or protected member '{0}' cannot be accessed on a type parameter.": { 3920 "category": "Error", 3921 "code": 4105 3922 }, 3923 "Parameter '{0}' of accessor has or is using private name '{1}'.": { 3924 "category": "Error", 3925 "code": 4106 3926 }, 3927 "Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'.": { 3928 "category": "Error", 3929 "code": 4107 3930 }, 3931 "Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named.": { 3932 "category": "Error", 3933 "code": 4108 3934 }, 3935 "Type arguments for '{0}' circularly reference themselves.": { 3936 "category": "Error", 3937 "code": 4109 3938 }, 3939 "Tuple type arguments circularly reference themselves.": { 3940 "category": "Error", 3941 "code": 4110 3942 }, 3943 "Property '{0}' comes from an index signature, so it must be accessed with ['{0}'].": { 3944 "category": "Error", 3945 "code": 4111 3946 }, 3947 "This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class.": { 3948 "category": "Error", 3949 "code": 4112 3950 }, 3951 "This member cannot have an 'override' modifier because it is not declared in the base class '{0}'.": { 3952 "category": "Error", 3953 "code": 4113 3954 }, 3955 "This member must have an 'override' modifier because it overrides a member in the base class '{0}'.": { 3956 "category": "Error", 3957 "code": 4114 3958 }, 3959 "This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'.": { 3960 "category": "Error", 3961 "code": 4115 3962 }, 3963 "This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'.": { 3964 "category": "Error", 3965 "code": 4116 3966 }, 3967 "This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?": { 3968 "category": "Error", 3969 "code": 4117 3970 }, 3971 "The type of this node cannot be serialized because its property '{0}' cannot be serialized.": { 3972 "category": "Error", 3973 "code": 4118 3974 }, 3975 "This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'.": { 3976 "category": "Error", 3977 "code": 4119 3978 }, 3979 "This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'.": { 3980 "category": "Error", 3981 "code": 4120 3982 }, 3983 "This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class.": { 3984 "category": "Error", 3985 "code": 4121 3986 }, 3987 "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'.": { 3988 "category": "Error", 3989 "code": 4122 3990 }, 3991 "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?": { 3992 "category": "Error", 3993 "code": 4123 3994 }, 3995 "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": { 3996 "category": "Error", 3997 "code": 4124 3998 }, 3999 "'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": { 4000 "category": "Error", 4001 "code": 4125 4002 }, 4003 4004 "The current host does not support the '{0}' option.": { 4005 "category": "Error", 4006 "code": 5001 4007 }, 4008 "Cannot find the common subdirectory path for the input files.": { 4009 "category": "Error", 4010 "code": 5009 4011 }, 4012 "File specification cannot end in a recursive directory wildcard ('**'): '{0}'.": { 4013 "category": "Error", 4014 "code": 5010 4015 }, 4016 "Cannot read file '{0}': {1}.": { 4017 "category": "Error", 4018 "code": 5012 4019 }, 4020 "Failed to parse file '{0}': {1}.": { 4021 "category": "Error", 4022 "code": 5014 4023 }, 4024 "Unknown compiler option '{0}'.": { 4025 "category": "Error", 4026 "code": 5023 4027 }, 4028 "Compiler option '{0}' requires a value of type {1}.": { 4029 "category": "Error", 4030 "code": 5024 4031 }, 4032 "Unknown compiler option '{0}'. Did you mean '{1}'?": { 4033 "category": "Error", 4034 "code": 5025 4035 }, 4036 "Could not write file '{0}': {1}.": { 4037 "category": "Error", 4038 "code": 5033 4039 }, 4040 "Option 'project' cannot be mixed with source files on a command line.": { 4041 "category": "Error", 4042 "code": 5042 4043 }, 4044 "Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher.": { 4045 "category": "Error", 4046 "code": 5047 4047 }, 4048 "Option '{0}' cannot be specified when option 'target' is 'ES3'.": { 4049 "category": "Error", 4050 "code": 5048 4051 }, 4052 "Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.": { 4053 "category": "Error", 4054 "code": 5051 4055 }, 4056 "Option '{0}' cannot be specified without specifying option '{1}'.": { 4057 "category": "Error", 4058 "code": 5052 4059 }, 4060 "Option '{0}' cannot be specified with option '{1}'.": { 4061 "category": "Error", 4062 "code": 5053 4063 }, 4064 "A 'tsconfig.json' file is already defined at: '{0}'.": { 4065 "category": "Error", 4066 "code": 5054 4067 }, 4068 "Cannot write file '{0}' because it would overwrite input file.": { 4069 "category": "Error", 4070 "code": 5055 4071 }, 4072 "Cannot write file '{0}' because it would be overwritten by multiple input files.": { 4073 "category": "Error", 4074 "code": 5056 4075 }, 4076 "Cannot find a tsconfig.json file at the specified directory: '{0}'.": { 4077 "category": "Error", 4078 "code": 5057 4079 }, 4080 "The specified path does not exist: '{0}'.": { 4081 "category": "Error", 4082 "code": 5058 4083 }, 4084 "Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.": { 4085 "category": "Error", 4086 "code": 5059 4087 }, 4088 "Pattern '{0}' can have at most one '*' character.": { 4089 "category": "Error", 4090 "code": 5061 4091 }, 4092 "Substitution '{0}' in pattern '{1}' can have at most one '*' character.": { 4093 "category": "Error", 4094 "code": 5062 4095 }, 4096 "Substitutions for pattern '{0}' should be an array.": { 4097 "category": "Error", 4098 "code": 5063 4099 }, 4100 "Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'.": { 4101 "category": "Error", 4102 "code": 5064 4103 }, 4104 "File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'.": { 4105 "category": "Error", 4106 "code": 5065 4107 }, 4108 "Substitutions for pattern '{0}' shouldn't be an empty array.": { 4109 "category": "Error", 4110 "code": 5066 4111 }, 4112 "Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name.": { 4113 "category": "Error", 4114 "code": 5067 4115 }, 4116 "Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.": { 4117 "category": "Error", 4118 "code": 5068 4119 }, 4120 "Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'.": { 4121 "category": "Error", 4122 "code": 5069 4123 }, 4124 "Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.": { 4125 "category": "Error", 4126 "code": 5070 4127 }, 4128 "Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'.": { 4129 "category": "Error", 4130 "code": 5071 4131 }, 4132 "Unknown build option '{0}'.": { 4133 "category": "Error", 4134 "code": 5072 4135 }, 4136 "Build option '{0}' requires a value of type {1}.": { 4137 "category": "Error", 4138 "code": 5073 4139 }, 4140 "Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified.": { 4141 "category": "Error", 4142 "code": 5074 4143 }, 4144 "'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'.": { 4145 "category": "Error", 4146 "code": 5075 4147 }, 4148 "'{0}' and '{1}' operations cannot be mixed without parentheses.": { 4149 "category": "Error", 4150 "code": 5076 4151 }, 4152 "Unknown build option '{0}'. Did you mean '{1}'?": { 4153 "category": "Error", 4154 "code": 5077 4155 }, 4156 "Unknown watch option '{0}'.": { 4157 "category": "Error", 4158 "code": 5078 4159 }, 4160 "Unknown watch option '{0}'. Did you mean '{1}'?": { 4161 "category": "Error", 4162 "code": 5079 4163 }, 4164 "Watch option '{0}' requires a value of type {1}.": { 4165 "category": "Error", 4166 "code": 5080 4167 }, 4168 "Cannot find a tsconfig.json file at the current directory: {0}.": { 4169 "category": "Error", 4170 "code": 5081 4171 }, 4172 "'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'.": { 4173 "category": "Error", 4174 "code": 5082 4175 }, 4176 "Cannot read file '{0}'.": { 4177 "category": "Error", 4178 "code": 5083 4179 }, 4180 "Tuple members must all have names or all not have names.": { 4181 "category": "Error", 4182 "code": 5084 4183 }, 4184 "A tuple member cannot be both optional and rest.": { 4185 "category": "Error", 4186 "code": 5085 4187 }, 4188 "A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type.": { 4189 "category": "Error", 4190 "code": 5086 4191 }, 4192 "A labeled tuple element is declared as rest with a '...' before the name, rather than before the type.": { 4193 "category": "Error", 4194 "code": 5087 4195 }, 4196 "The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.": { 4197 "category": "Error", 4198 "code": 5088 4199 }, 4200 "Option '{0}' cannot be specified when option 'jsx' is '{1}'.": { 4201 "category": "Error", 4202 "code": 5089 4203 }, 4204 "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?": { 4205 "category": "Error", 4206 "code": 5090 4207 }, 4208 "Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled.": { 4209 "category": "Error", 4210 "code": 5091 4211 }, 4212 "The root value of a '{0}' file must be an object.": { 4213 "category": "Error", 4214 "code": 5092 4215 }, 4216 "Compiler option '--{0}' may only be used with '--build'.": { 4217 "category": "Error", 4218 "code": 5093 4219 }, 4220 "Compiler option '--{0}' may not be used with '--build'.": { 4221 "category": "Error", 4222 "code": 5094 4223 }, 4224 "Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later.": { 4225 "category": "Error", 4226 "code": 5095 4227 }, 4228 4229 "Generates a sourcemap for each corresponding '.d.ts' file.": { 4230 "category": "Message", 4231 "code": 6000 4232 }, 4233 "Concatenate and emit output to single file.": { 4234 "category": "Message", 4235 "code": 6001 4236 }, 4237 "Generates corresponding '.d.ts' file.": { 4238 "category": "Message", 4239 "code": 6002 4240 }, 4241 "Specify the location where debugger should locate TypeScript files instead of source locations.": { 4242 "category": "Message", 4243 "code": 6004 4244 }, 4245 "Watch input files.": { 4246 "category": "Message", 4247 "code": 6005 4248 }, 4249 "Redirect output structure to the directory.": { 4250 "category": "Message", 4251 "code": 6006 4252 }, 4253 "Do not erase const enum declarations in generated code.": { 4254 "category": "Message", 4255 "code": 6007 4256 }, 4257 "Do not emit outputs if any errors were reported.": { 4258 "category": "Message", 4259 "code": 6008 4260 }, 4261 "Do not emit comments to output.": { 4262 "category": "Message", 4263 "code": 6009 4264 }, 4265 "Do not emit outputs.": { 4266 "category": "Message", 4267 "code": 6010 4268 }, 4269 "Allow default imports from modules with no default export. This does not affect code emit, just typechecking.": { 4270 "category": "Message", 4271 "code": 6011 4272 }, 4273 "Skip type checking of declaration files.": { 4274 "category": "Message", 4275 "code": 6012 4276 }, 4277 "Do not resolve the real path of symlinks.": { 4278 "category": "Message", 4279 "code": 6013 4280 }, 4281 "Only emit '.d.ts' declaration files.": { 4282 "category": "Message", 4283 "code": 6014 4284 }, 4285 "Specify ECMAScript target version.": { 4286 "category": "Message", 4287 "code": 6015 4288 }, 4289 "Specify module code generation.": { 4290 "category": "Message", 4291 "code": 6016 4292 }, 4293 "Print this message.": { 4294 "category": "Message", 4295 "code": 6017 4296 }, 4297 "Print the compiler's version.": { 4298 "category": "Message", 4299 "code": 6019 4300 }, 4301 "Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.": { 4302 "category": "Message", 4303 "code": 6020 4304 }, 4305 "Syntax: {0}": { 4306 "category": "Message", 4307 "code": 6023 4308 }, 4309 "options": { 4310 "category": "Message", 4311 "code": 6024 4312 }, 4313 "file": { 4314 "category": "Message", 4315 "code": 6025 4316 }, 4317 "Examples: {0}": { 4318 "category": "Message", 4319 "code": 6026 4320 }, 4321 "Options:": { 4322 "category": "Message", 4323 "code": 6027 4324 }, 4325 "Version {0}": { 4326 "category": "Message", 4327 "code": 6029 4328 }, 4329 "Insert command line options and files from a file.": { 4330 "category": "Message", 4331 "code": 6030 4332 }, 4333 "Starting compilation in watch mode...": { 4334 "category": "Message", 4335 "code": 6031 4336 }, 4337 "File change detected. Starting incremental compilation...": { 4338 "category": "Message", 4339 "code": 6032 4340 }, 4341 "KIND": { 4342 "category": "Message", 4343 "code": 6034 4344 }, 4345 "FILE": { 4346 "category": "Message", 4347 "code": 6035 4348 }, 4349 "VERSION": { 4350 "category": "Message", 4351 "code": 6036 4352 }, 4353 "LOCATION": { 4354 "category": "Message", 4355 "code": 6037 4356 }, 4357 "DIRECTORY": { 4358 "category": "Message", 4359 "code": 6038 4360 }, 4361 "STRATEGY": { 4362 "category": "Message", 4363 "code": 6039 4364 }, 4365 "FILE OR DIRECTORY": { 4366 "category": "Message", 4367 "code": 6040 4368 }, 4369 "Errors Files": { 4370 "_locale_notes": "There is a double space, and the order cannot be changed (they're table headings) ^", 4371 "category": "Message", 4372 "code": 6041 4373 }, 4374 "Generates corresponding '.map' file.": { 4375 "category": "Message", 4376 "code": 6043 4377 }, 4378 "Compiler option '{0}' expects an argument.": { 4379 "category": "Error", 4380 "code": 6044 4381 }, 4382 "Unterminated quoted string in response file '{0}'.": { 4383 "category": "Error", 4384 "code": 6045 4385 }, 4386 "Argument for '{0}' option must be: {1}.": { 4387 "category": "Error", 4388 "code": 6046 4389 }, 4390 "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": { 4391 "category": "Error", 4392 "code": 6048 4393 }, 4394 "Unable to open file '{0}'.": { 4395 "category": "Error", 4396 "code": 6050 4397 }, 4398 "Corrupted locale file {0}.": { 4399 "category": "Error", 4400 "code": 6051 4401 }, 4402 "Raise error on expressions and declarations with an implied 'any' type.": { 4403 "category": "Message", 4404 "code": 6052 4405 }, 4406 "File '{0}' not found.": { 4407 "category": "Error", 4408 "code": 6053 4409 }, 4410 "File '{0}' has an unsupported extension. The only supported extensions are {1}.": { 4411 "category": "Error", 4412 "code": 6054 4413 }, 4414 "Suppress noImplicitAny errors for indexing objects lacking index signatures.": { 4415 "category": "Message", 4416 "code": 6055 4417 }, 4418 "Do not emit declarations for code that has an '@internal' annotation.": { 4419 "category": "Message", 4420 "code": 6056 4421 }, 4422 "Specify the root directory of input files. Use to control the output directory structure with --outDir.": { 4423 "category": "Message", 4424 "code": 6058 4425 }, 4426 "File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files.": { 4427 "category": "Error", 4428 "code": 6059 4429 }, 4430 "Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).": { 4431 "category": "Message", 4432 "code": 6060 4433 }, 4434 "NEWLINE": { 4435 "category": "Message", 4436 "code": 6061 4437 }, 4438 "Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line.": { 4439 "category": "Error", 4440 "code": 6064 4441 }, 4442 "Enables experimental support for ES7 decorators.": { 4443 "category": "Message", 4444 "code": 6065 4445 }, 4446 "Enables experimental support for emitting type metadata for decorators.": { 4447 "category": "Message", 4448 "code": 6066 4449 }, 4450 "Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).": { 4451 "category": "Message", 4452 "code": 6069 4453 }, 4454 "Initializes a TypeScript project and creates a tsconfig.json file.": { 4455 "category": "Message", 4456 "code": 6070 4457 }, 4458 "Successfully created a tsconfig.json file.": { 4459 "category": "Message", 4460 "code": 6071 4461 }, 4462 "Suppress excess property checks for object literals.": { 4463 "category": "Message", 4464 "code": 6072 4465 }, 4466 "Stylize errors and messages using color and context (experimental).": { 4467 "category": "Message", 4468 "code": 6073 4469 }, 4470 "Do not report errors on unused labels.": { 4471 "category": "Message", 4472 "code": 6074 4473 }, 4474 "Report error when not all code paths in function return a value.": { 4475 "category": "Message", 4476 "code": 6075 4477 }, 4478 "Report errors for fallthrough cases in switch statement.": { 4479 "category": "Message", 4480 "code": 6076 4481 }, 4482 "Do not report errors on unreachable code.": { 4483 "category": "Message", 4484 "code": 6077 4485 }, 4486 "Disallow inconsistently-cased references to the same file.": { 4487 "category": "Message", 4488 "code": 6078 4489 }, 4490 "Specify library files to be included in the compilation.": { 4491 "category": "Message", 4492 "code": 6079 4493 }, 4494 "Specify JSX code generation.": { 4495 "category": "Message", 4496 "code": 6080 4497 }, 4498 "File '{0}' has an unsupported extension, so skipping it.": { 4499 "category": "Message", 4500 "code": 6081 4501 }, 4502 "Only 'amd' and 'system' modules are supported alongside --{0}.": { 4503 "category": "Error", 4504 "code": 6082 4505 }, 4506 "Base directory to resolve non-absolute module names.": { 4507 "category": "Message", 4508 "code": 6083 4509 }, 4510 "[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit": { 4511 "category": "Message", 4512 "code": 6084 4513 }, 4514 "Enable tracing of the name resolution process.": { 4515 "category": "Message", 4516 "code": 6085 4517 }, 4518 "======== Resolving module '{0}' from '{1}'. ========": { 4519 "category": "Message", 4520 "code": 6086 4521 }, 4522 "Explicitly specified module resolution kind: '{0}'.": { 4523 "category": "Message", 4524 "code": 6087 4525 }, 4526 "Module resolution kind is not specified, using '{0}'.": { 4527 "category": "Message", 4528 "code": 6088 4529 }, 4530 "======== Module name '{0}' was successfully resolved to '{1}'. ========": { 4531 "category": "Message", 4532 "code": 6089 4533 }, 4534 "======== Module name '{0}' was not resolved. ========": { 4535 "category": "Message", 4536 "code": 6090 4537 }, 4538 "'paths' option is specified, looking for a pattern to match module name '{0}'.": { 4539 "category": "Message", 4540 "code": 6091 4541 }, 4542 "Module name '{0}', matched pattern '{1}'.": { 4543 "category": "Message", 4544 "code": 6092 4545 }, 4546 "Trying substitution '{0}', candidate module location: '{1}'.": { 4547 "category": "Message", 4548 "code": 6093 4549 }, 4550 "Resolving module name '{0}' relative to base url '{1}' - '{2}'.": { 4551 "category": "Message", 4552 "code": 6094 4553 }, 4554 "Loading module as file / folder, candidate module location '{0}', target file type '{1}'.": { 4555 "category": "Message", 4556 "code": 6095 4557 }, 4558 "File '{0}' does not exist.": { 4559 "category": "Message", 4560 "code": 6096 4561 }, 4562 "File '{0}' exist - use it as a name resolution result.": { 4563 "category": "Message", 4564 "code": 6097 4565 }, 4566 "Loading module '{0}' from 'node_modules' folder, target file type '{1}'.": { 4567 "category": "Message", 4568 "code": 6098 4569 }, 4570 "Found 'package.json' at '{0}'.": { 4571 "category": "Message", 4572 "code": 6099 4573 }, 4574 "'package.json' does not have a '{0}' field.": { 4575 "category": "Message", 4576 "code": 6100 4577 }, 4578 "'package.json' has '{0}' field '{1}' that references '{2}'.": { 4579 "category": "Message", 4580 "code": 6101 4581 }, 4582 "Allow javascript files to be compiled.": { 4583 "category": "Message", 4584 "code": 6102 4585 }, 4586 "Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'.": { 4587 "category": "Message", 4588 "code": 6104 4589 }, 4590 "Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'.": { 4591 "category": "Message", 4592 "code": 6105 4593 }, 4594 "'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'.": { 4595 "category": "Message", 4596 "code": 6106 4597 }, 4598 "'rootDirs' option is set, using it to resolve relative module name '{0}'.": { 4599 "category": "Message", 4600 "code": 6107 4601 }, 4602 "Longest matching prefix for '{0}' is '{1}'.": { 4603 "category": "Message", 4604 "code": 6108 4605 }, 4606 "Loading '{0}' from the root dir '{1}', candidate location '{2}'.": { 4607 "category": "Message", 4608 "code": 6109 4609 }, 4610 "Trying other entries in 'rootDirs'.": { 4611 "category": "Message", 4612 "code": 6110 4613 }, 4614 "Module resolution using 'rootDirs' has failed.": { 4615 "category": "Message", 4616 "code": 6111 4617 }, 4618 "Do not emit 'use strict' directives in module output.": { 4619 "category": "Message", 4620 "code": 6112 4621 }, 4622 "Enable strict null checks.": { 4623 "category": "Message", 4624 "code": 6113 4625 }, 4626 "Unknown option 'excludes'. Did you mean 'exclude'?": { 4627 "category": "Error", 4628 "code": 6114 4629 }, 4630 "Raise error on 'this' expressions with an implied 'any' type.": { 4631 "category": "Message", 4632 "code": 6115 4633 }, 4634 "======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========": { 4635 "category": "Message", 4636 "code": 6116 4637 }, 4638 "======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========": { 4639 "category": "Message", 4640 "code": 6119 4641 }, 4642 "======== Type reference directive '{0}' was not resolved. ========": { 4643 "category": "Message", 4644 "code": 6120 4645 }, 4646 "Resolving with primary search path '{0}'.": { 4647 "category": "Message", 4648 "code": 6121 4649 }, 4650 "Root directory cannot be determined, skipping primary search paths.": { 4651 "category": "Message", 4652 "code": 6122 4653 }, 4654 "======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========": { 4655 "category": "Message", 4656 "code": 6123 4657 }, 4658 "Type declaration files to be included in compilation.": { 4659 "category": "Message", 4660 "code": 6124 4661 }, 4662 "Looking up in 'node_modules' folder, initial location '{0}'.": { 4663 "category": "Message", 4664 "code": 6125 4665 }, 4666 "Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder.": { 4667 "category": "Message", 4668 "code": 6126 4669 }, 4670 "======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========": { 4671 "category": "Message", 4672 "code": 6127 4673 }, 4674 "======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========": { 4675 "category": "Message", 4676 "code": 6128 4677 }, 4678 "Resolving real path for '{0}', result '{1}'.": { 4679 "category": "Message", 4680 "code": 6130 4681 }, 4682 "Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'.": { 4683 "category": "Error", 4684 "code": 6131 4685 }, 4686 "File name '{0}' has a '{1}' extension - stripping it.": { 4687 "category": "Message", 4688 "code": 6132 4689 }, 4690 "'{0}' is declared but its value is never read.": { 4691 "category": "Error", 4692 "code": 6133, 4693 "reportsUnnecessary": true 4694 }, 4695 "Report errors on unused locals.": { 4696 "category": "Message", 4697 "code": 6134 4698 }, 4699 "Report errors on unused parameters.": { 4700 "category": "Message", 4701 "code": 6135 4702 }, 4703 "The maximum dependency depth to search under node_modules and load JavaScript files.": { 4704 "category": "Message", 4705 "code": 6136 4706 }, 4707 "Cannot import type declaration files. Consider importing '{0}' instead of '{1}'.": { 4708 "category": "Error", 4709 "code": 6137 4710 }, 4711 "Property '{0}' is declared but its value is never read.": { 4712 "category": "Error", 4713 "code": 6138, 4714 "reportsUnnecessary": true 4715 }, 4716 "Import emit helpers from 'tslib'.": { 4717 "category": "Message", 4718 "code": 6139 4719 }, 4720 "Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'.": { 4721 "category": "Error", 4722 "code": 6140 4723 }, 4724 "Parse in strict mode and emit \"use strict\" for each source file.": { 4725 "category": "Message", 4726 "code": 6141 4727 }, 4728 "Module '{0}' was resolved to '{1}', but '--jsx' is not set.": { 4729 "category": "Error", 4730 "code": 6142 4731 }, 4732 "Module '{0}' was resolved as locally declared ambient module in file '{1}'.": { 4733 "category": "Message", 4734 "code": 6144 4735 }, 4736 "Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified.": { 4737 "category": "Message", 4738 "code": 6145 4739 }, 4740 "Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'.": { 4741 "category": "Message", 4742 "code": 6146 4743 }, 4744 "Resolution for module '{0}' was found in cache from location '{1}'.": { 4745 "category": "Message", 4746 "code": 6147 4747 }, 4748 "Directory '{0}' does not exist, skipping all lookups in it.": { 4749 "category": "Message", 4750 "code": 6148 4751 }, 4752 "Show diagnostic information.": { 4753 "category": "Message", 4754 "code": 6149 4755 }, 4756 "Show verbose diagnostic information.": { 4757 "category": "Message", 4758 "code": 6150 4759 }, 4760 "Emit a single file with source maps instead of having a separate file.": { 4761 "category": "Message", 4762 "code": 6151 4763 }, 4764 "Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set.": { 4765 "category": "Message", 4766 "code": 6152 4767 }, 4768 "Transpile each file as a separate module (similar to 'ts.transpileModule').": { 4769 "category": "Message", 4770 "code": 6153 4771 }, 4772 "Print names of generated files part of the compilation.": { 4773 "category": "Message", 4774 "code": 6154 4775 }, 4776 "Print names of files part of the compilation.": { 4777 "category": "Message", 4778 "code": 6155 4779 }, 4780 "The locale used when displaying messages to the user (e.g. 'en-us')": { 4781 "category": "Message", 4782 "code": 6156 4783 }, 4784 "Do not generate custom helper functions like '__extends' in compiled output.": { 4785 "category": "Message", 4786 "code": 6157 4787 }, 4788 "Do not include the default library file (lib.d.ts).": { 4789 "category": "Message", 4790 "code": 6158 4791 }, 4792 "Do not add triple-slash references or imported modules to the list of compiled files.": { 4793 "category": "Message", 4794 "code": 6159 4795 }, 4796 "[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files.": { 4797 "category": "Message", 4798 "code": 6160 4799 }, 4800 "List of folders to include type definitions from.": { 4801 "category": "Message", 4802 "code": 6161 4803 }, 4804 "Disable size limitations on JavaScript projects.": { 4805 "category": "Message", 4806 "code": 6162 4807 }, 4808 "The character set of the input files.": { 4809 "category": "Message", 4810 "code": 6163 4811 }, 4812 "Do not truncate error messages.": { 4813 "category": "Message", 4814 "code": 6165 4815 }, 4816 "Output directory for generated declaration files.": { 4817 "category": "Message", 4818 "code": 6166 4819 }, 4820 "A series of entries which re-map imports to lookup locations relative to the 'baseUrl'.": { 4821 "category": "Message", 4822 "code": 6167 4823 }, 4824 "List of root folders whose combined content represents the structure of the project at runtime.": { 4825 "category": "Message", 4826 "code": 6168 4827 }, 4828 "Show all compiler options.": { 4829 "category": "Message", 4830 "code": 6169 4831 }, 4832 "[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file": { 4833 "category": "Message", 4834 "code": 6170 4835 }, 4836 "Command-line Options": { 4837 "category": "Message", 4838 "code": 6171 4839 }, 4840 "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.": { 4841 "category": "Message", 4842 "code": 6179 4843 }, 4844 "Enable all strict type-checking options.": { 4845 "category": "Message", 4846 "code": 6180 4847 }, 4848 "Scoped package detected, looking in '{0}'": { 4849 "category": "Message", 4850 "code": 6182 4851 }, 4852 "Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'.": { 4853 "category": "Message", 4854 "code": 6183 4855 }, 4856 "Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'.": { 4857 "category": "Message", 4858 "code": 6184 4859 }, 4860 "Enable strict checking of function types.": { 4861 "category": "Message", 4862 "code": 6186 4863 }, 4864 "Enable strict checking of property initialization in classes.": { 4865 "category": "Message", 4866 "code": 6187 4867 }, 4868 "Numeric separators are not allowed here.": { 4869 "category": "Error", 4870 "code": 6188 4871 }, 4872 "Multiple consecutive numeric separators are not permitted.": { 4873 "category": "Error", 4874 "code": 6189 4875 }, 4876 "Whether to keep outdated console output in watch mode instead of clearing the screen.": { 4877 "category": "Message", 4878 "code": 6191 4879 }, 4880 "All imports in import declaration are unused.": { 4881 "category": "Error", 4882 "code": 6192, 4883 "reportsUnnecessary": true 4884 }, 4885 "Found 1 error. Watching for file changes.": { 4886 "category": "Message", 4887 "code": 6193 4888 }, 4889 "Found {0} errors. Watching for file changes.": { 4890 "category": "Message", 4891 "code": 6194 4892 }, 4893 "Resolve 'keyof' to string valued property names only (no numbers or symbols).": { 4894 "category": "Message", 4895 "code": 6195 4896 }, 4897 "'{0}' is declared but never used.": { 4898 "category": "Error", 4899 "code": 6196, 4900 "reportsUnnecessary": true 4901 }, 4902 "Include modules imported with '.json' extension": { 4903 "category": "Message", 4904 "code": 6197 4905 }, 4906 "All destructured elements are unused.": { 4907 "category": "Error", 4908 "code": 6198, 4909 "reportsUnnecessary": true 4910 }, 4911 "All variables are unused.": { 4912 "category": "Error", 4913 "code": 6199, 4914 "reportsUnnecessary": true 4915 }, 4916 "Definitions of the following identifiers conflict with those in another file: {0}": { 4917 "category": "Error", 4918 "code": 6200 4919 }, 4920 "Conflicts are in this file.": { 4921 "category": "Message", 4922 "code": 6201 4923 }, 4924 "Project references may not form a circular graph. Cycle detected: {0}": { 4925 "category": "Error", 4926 "code": 6202 4927 }, 4928 "'{0}' was also declared here.": { 4929 "category": "Message", 4930 "code": 6203 4931 }, 4932 "and here.": { 4933 "category": "Message", 4934 "code": 6204 4935 }, 4936 "All type parameters are unused.": { 4937 "category": "Error", 4938 "code": 6205 4939 }, 4940 "'package.json' has a 'typesVersions' field with version-specific path mappings.": { 4941 "category": "Message", 4942 "code": 6206 4943 }, 4944 "'package.json' does not have a 'typesVersions' entry that matches version '{0}'.": { 4945 "category": "Message", 4946 "code": 6207 4947 }, 4948 "'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'.": { 4949 "category": "Message", 4950 "code": 6208 4951 }, 4952 "'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range.": { 4953 "category": "Message", 4954 "code": 6209 4955 }, 4956 "An argument for '{0}' was not provided.": { 4957 "category": "Message", 4958 "code": 6210 4959 }, 4960 "An argument matching this binding pattern was not provided.": { 4961 "category": "Message", 4962 "code": 6211 4963 }, 4964 "Did you mean to call this expression?": { 4965 "category": "Message", 4966 "code": 6212 4967 }, 4968 "Did you mean to use 'new' with this expression?": { 4969 "category": "Message", 4970 "code": 6213 4971 }, 4972 "Enable strict 'bind', 'call', and 'apply' methods on functions.": { 4973 "category": "Message", 4974 "code": 6214 4975 }, 4976 "Using compiler options of project reference redirect '{0}'.": { 4977 "category": "Message", 4978 "code": 6215 4979 }, 4980 "Found 1 error.": { 4981 "category": "Message", 4982 "code": 6216 4983 }, 4984 "Found {0} errors.": { 4985 "category": "Message", 4986 "code": 6217 4987 }, 4988 "======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========": { 4989 "category": "Message", 4990 "code": 6218 4991 }, 4992 "======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========": { 4993 "category": "Message", 4994 "code": 6219 4995 }, 4996 "'package.json' had a falsy '{0}' field.": { 4997 "category": "Message", 4998 "code": 6220 4999 }, 5000 "Disable use of source files instead of declaration files from referenced projects.": { 5001 "category": "Message", 5002 "code": 6221 5003 }, 5004 "Emit class fields with Define instead of Set.": { 5005 "category": "Message", 5006 "code": 6222 5007 }, 5008 "Generates a CPU profile.": { 5009 "category": "Message", 5010 "code": 6223 5011 }, 5012 "Disable solution searching for this project.": { 5013 "category": "Message", 5014 "code": 6224 5015 }, 5016 "Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'.": { 5017 "category": "Message", 5018 "code": 6225 5019 }, 5020 "Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'.": { 5021 "category": "Message", 5022 "code": 6226 5023 }, 5024 "Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'.": { 5025 "category": "Message", 5026 "code": 6227 5027 }, 5028 "Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'.": { 5029 "category": "Error", 5030 "code": 6229 5031 }, 5032 "Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line.": { 5033 "category": "Error", 5034 "code": 6230 5035 }, 5036 "Could not resolve the path '{0}' with the extensions: {1}.": { 5037 "category": "Error", 5038 "code": 6231 5039 }, 5040 "Declaration augments declaration in another file. This cannot be serialized.": { 5041 "category": "Error", 5042 "code": 6232 5043 }, 5044 "This is the declaration being augmented. Consider moving the augmenting declaration into the same file.": { 5045 "category": "Error", 5046 "code": 6233 5047 }, 5048 "This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?": { 5049 "category": "Error", 5050 "code": 6234 5051 }, 5052 "Disable loading referenced projects.": { 5053 "category": "Message", 5054 "code": 6235 5055 }, 5056 "Arguments for the rest parameter '{0}' were not provided.": { 5057 "category": "Error", 5058 "code": 6236 5059 }, 5060 "Generates an event trace and a list of types.": { 5061 "category": "Message", 5062 "code": 6237 5063 }, 5064 "Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react": { 5065 "category": "Error", 5066 "code": 6238 5067 }, 5068 "File '{0}' exists according to earlier cached lookups.": { 5069 "category": "Message", 5070 "code": 6239 5071 }, 5072 "File '{0}' does not exist according to earlier cached lookups.": { 5073 "category": "Message", 5074 "code": 6240 5075 }, 5076 "Resolution for type reference directive '{0}' was found in cache from location '{1}'.": { 5077 "category": "Message", 5078 "code": 6241 5079 }, 5080 "======== Resolving type reference directive '{0}', containing file '{1}'. ========": { 5081 "category": "Message", 5082 "code": 6242 5083 }, 5084 "Interpret optional property types as written, rather than adding 'undefined'.": { 5085 "category": "Message", 5086 "code": 6243 5087 }, 5088 5089 "Modules": { 5090 "category": "Message", 5091 "code": 6244 5092 }, 5093 "File Management": { 5094 "category": "Message", 5095 "code": 6245 5096 }, 5097 "Emit": { 5098 "category": "Message", 5099 "code": 6246 5100 }, 5101 "JavaScript Support": { 5102 "category": "Message", 5103 "code": 6247 5104 }, 5105 "Type Checking": { 5106 "category": "Message", 5107 "code": 6248 5108 }, 5109 "Editor Support": { 5110 "category": "Message", 5111 "code": 6249 5112 }, 5113 "Watch and Build Modes": { 5114 "category": "Message", 5115 "code": 6250 5116 }, 5117 "Compiler Diagnostics": { 5118 "category": "Message", 5119 "code": 6251 5120 }, 5121 "Interop Constraints": { 5122 "category": "Message", 5123 "code": 6252 5124 }, 5125 "Backwards Compatibility": { 5126 "category": "Message", 5127 "code": 6253 5128 }, 5129 "Language and Environment": { 5130 "category": "Message", 5131 "code": 6254 5132 }, 5133 "Projects": { 5134 "category": "Message", 5135 "code": 6255 5136 }, 5137 "Output Formatting": { 5138 "category": "Message", 5139 "code": 6256 5140 }, 5141 "Completeness": { 5142 "category": "Message", 5143 "code": 6257 5144 }, 5145 "'{0}' should be set inside the 'compilerOptions' object of the config json file": { 5146 "category": "Error", 5147 "code": 6258 5148 }, 5149 "Found 1 error in {1}": { 5150 "category": "Message", 5151 "code": 6259 5152 }, 5153 "Found {0} errors in the same file, starting at: {1}": { 5154 "category": "Message", 5155 "code": 6260 5156 }, 5157 "Found {0} errors in {1} files.": { 5158 "category": "Message", 5159 "code": 6261 5160 }, 5161 5162 "Directory '{0}' has no containing package.json scope. Imports will not resolve.": { 5163 "category": "Message", 5164 "code": 6270 5165 }, 5166 "Import specifier '{0}' does not exist in package.json scope at path '{1}'.": { 5167 "category": "Message", 5168 "code": 6271 5169 }, 5170 "Invalid import specifier '{0}' has no possible resolutions.": { 5171 "category": "Message", 5172 "code": 6272 5173 }, 5174 "package.json scope '{0}' has no imports defined.": { 5175 "category": "Message", 5176 "code": 6273 5177 }, 5178 "package.json scope '{0}' explicitly maps specifier '{1}' to null.": { 5179 "category": "Message", 5180 "code": 6274 5181 }, 5182 "package.json scope '{0}' has invalid type for target of specifier '{1}'": { 5183 "category": "Message", 5184 "code": 6275 5185 }, 5186 "Export specifier '{0}' does not exist in package.json scope at path '{1}'.": { 5187 "category": "Message", 5188 "code": 6276 5189 }, 5190 5191 "Enable project compilation": { 5192 "category": "Message", 5193 "code": 6302 5194 }, 5195 "Composite projects may not disable declaration emit.": { 5196 "category": "Error", 5197 "code": 6304 5198 }, 5199 "Output file '{0}' has not been built from source file '{1}'.": { 5200 "category": "Error", 5201 "code": 6305 5202 }, 5203 "Referenced project '{0}' must have setting \"composite\": true.": { 5204 "category": "Error", 5205 "code": 6306 5206 }, 5207 "File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern.": { 5208 "category": "Error", 5209 "code": 6307 5210 }, 5211 "Cannot prepend project '{0}' because it does not have 'outFile' set": { 5212 "category": "Error", 5213 "code": 6308 5214 }, 5215 "Output file '{0}' from project '{1}' does not exist": { 5216 "category": "Error", 5217 "code": 6309 5218 }, 5219 "Referenced project '{0}' may not disable emit.": { 5220 "category": "Error", 5221 "code": 6310 5222 }, 5223 "Project '{0}' is out of date because output '{1}' is older than input '{2}'": { 5224 "category": "Message", 5225 "code": 6350 5226 }, 5227 "Project '{0}' is up to date because newest input '{1}' is older than output '{2}'": { 5228 "category": "Message", 5229 "code": 6351 5230 }, 5231 "Project '{0}' is out of date because output file '{1}' does not exist": { 5232 "category": "Message", 5233 "code": 6352 5234 }, 5235 "Project '{0}' is out of date because its dependency '{1}' is out of date": { 5236 "category": "Message", 5237 "code": 6353 5238 }, 5239 "Project '{0}' is up to date with .d.ts files from its dependencies": { 5240 "category": "Message", 5241 "code": 6354 5242 }, 5243 "Projects in this build: {0}": { 5244 "category": "Message", 5245 "code": 6355 5246 }, 5247 "A non-dry build would delete the following files: {0}": { 5248 "category": "Message", 5249 "code": 6356 5250 }, 5251 "A non-dry build would build project '{0}'": { 5252 "category": "Message", 5253 "code": 6357 5254 }, 5255 "Building project '{0}'...": { 5256 "category": "Message", 5257 "code": 6358 5258 }, 5259 "Updating output timestamps of project '{0}'...": { 5260 "category": "Message", 5261 "code": 6359 5262 }, 5263 "Project '{0}' is up to date": { 5264 "category": "Message", 5265 "code": 6361 5266 }, 5267 "Skipping build of project '{0}' because its dependency '{1}' has errors": { 5268 "category": "Message", 5269 "code": 6362 5270 }, 5271 "Project '{0}' can't be built because its dependency '{1}' has errors": { 5272 "category": "Message", 5273 "code": 6363 5274 }, 5275 "Build one or more projects and their dependencies, if out of date": { 5276 "category": "Message", 5277 "code": 6364 5278 }, 5279 "Delete the outputs of all projects.": { 5280 "category": "Message", 5281 "code": 6365 5282 }, 5283 "Show what would be built (or deleted, if specified with '--clean')": { 5284 "category": "Message", 5285 "code": 6367 5286 }, 5287 "Option '--build' must be the first command line argument.": { 5288 "category": "Error", 5289 "code": 6369 5290 }, 5291 "Options '{0}' and '{1}' cannot be combined.": { 5292 "category": "Error", 5293 "code": 6370 5294 }, 5295 "Updating unchanged output timestamps of project '{0}'...": { 5296 "category": "Message", 5297 "code": 6371 5298 }, 5299 "Project '{0}' is out of date because output of its dependency '{1}' has changed": { 5300 "category": "Message", 5301 "code": 6372 5302 }, 5303 "Updating output of project '{0}'...": { 5304 "category": "Message", 5305 "code": 6373 5306 }, 5307 "A non-dry build would update timestamps for output of project '{0}'": { 5308 "category": "Message", 5309 "code": 6374 5310 }, 5311 "A non-dry build would update output of project '{0}'": { 5312 "category": "Message", 5313 "code": 6375 5314 }, 5315 "Cannot update output of project '{0}' because there was error reading file '{1}'": { 5316 "category": "Message", 5317 "code": 6376 5318 }, 5319 "Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'": { 5320 "category": "Error", 5321 "code": 6377 5322 }, 5323 "Composite projects may not disable incremental compilation.": { 5324 "category": "Error", 5325 "code": 6379 5326 }, 5327 "Specify file to store incremental compilation information": { 5328 "category": "Message", 5329 "code": 6380 5330 }, 5331 "Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'": { 5332 "category": "Message", 5333 "code": 6381 5334 }, 5335 "Skipping build of project '{0}' because its dependency '{1}' was not built": { 5336 "category": "Message", 5337 "code": 6382 5338 }, 5339 "Project '{0}' can't be built because its dependency '{1}' was not built": { 5340 "category": "Message", 5341 "code": 6383 5342 }, 5343 "Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.": { 5344 "category": "Message", 5345 "code": 6384 5346 }, 5347 "'{0}' is deprecated.": { 5348 "category": "Suggestion", 5349 "code": 6385, 5350 "reportsDeprecated": true 5351 }, 5352 "Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.": { 5353 "category": "Message", 5354 "code": 6386 5355 }, 5356 "The signature '{0}' of '{1}' is deprecated.": { 5357 "category": "Suggestion", 5358 "code": 6387, 5359 "reportsDeprecated": true 5360 }, 5361 "Project '{0}' is being forcibly rebuilt": { 5362 "category": "Message", 5363 "code": 6388 5364 }, 5365 "Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved.": { 5366 "category": "Message", 5367 "code": 6389 5368 }, 5369 "Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'.": { 5370 "category": "Message", 5371 "code": 6390 5372 }, 5373 "Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'.": { 5374 "category": "Message", 5375 "code": 6391 5376 }, 5377 "Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved.": { 5378 "category": "Message", 5379 "code": 6392 5380 }, 5381 "Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'.": { 5382 "category": "Message", 5383 "code": 6393 5384 }, 5385 "Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'.": { 5386 "category": "Message", 5387 "code": 6394 5388 }, 5389 "Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved.": { 5390 "category": "Message", 5391 "code": 6395 5392 }, 5393 "Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'.": { 5394 "category": "Message", 5395 "code": 6396 5396 }, 5397 "Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'.": { 5398 "category": "Message", 5399 "code": 6397 5400 }, 5401 "Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved.": { 5402 "category": "Message", 5403 "code": 6398 5404 }, 5405 "Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted": { 5406 "category": "Message", 5407 "code": 6399 5408 }, 5409 "Project '{0}' is up to date but needs to update timestamps of output files that are older than input files": { 5410 "category": "Message", 5411 "code": 6400 5412 }, 5413 "Project '{0}' is out of date because there was error reading file '{1}'": { 5414 "category": "Message", 5415 "code": 6401 5416 }, 5417 "Resolving in {0} mode with conditions {1}.": { 5418 "category": "Message", 5419 "code": 6402 5420 }, 5421 "Matched '{0}' condition '{1}'.": { 5422 "category": "Message", 5423 "code": 6403 5424 }, 5425 "Using '{0}' subpath '{1}' with target '{2}'.": { 5426 "category": "Message", 5427 "code": 6404 5428 }, 5429 "Saw non-matching condition '{0}'.": { 5430 "category": "Message", 5431 "code": 6405 5432 }, 5433 5434 "The expected type comes from property '{0}' which is declared here on type '{1}'": { 5435 "category": "Message", 5436 "code": 6500 5437 }, 5438 "The expected type comes from this index signature.": { 5439 "category": "Message", 5440 "code": 6501 5441 }, 5442 "The expected type comes from the return type of this signature.": { 5443 "category": "Message", 5444 "code": 6502 5445 }, 5446 "Print names of files that are part of the compilation and then stop processing.": { 5447 "category": "Message", 5448 "code": 6503 5449 }, 5450 "File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?": { 5451 "category": "Error", 5452 "code": 6504 5453 }, 5454 "Print names of files and the reason they are part of the compilation.": { 5455 "category": "Message", 5456 "code": 6505 5457 }, 5458 "Consider adding a 'declare' modifier to this class.": { 5459 "category": "Message", 5460 "code": 6506 5461 }, 5462 "Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.": { 5463 "category": "Message", 5464 "code": 6600 5465 }, 5466 "Allow 'import x from y' when a module doesn't have a default export.": { 5467 "category": "Message", 5468 "code": 6601 5469 }, 5470 "Allow accessing UMD globals from modules.": { 5471 "category": "Message", 5472 "code": 6602 5473 }, 5474 "Disable error reporting for unreachable code.": { 5475 "category": "Message", 5476 "code": 6603 5477 }, 5478 "Disable error reporting for unused labels.": { 5479 "category": "Message", 5480 "code": 6604 5481 }, 5482 "Ensure 'use strict' is always emitted.": { 5483 "category": "Message", 5484 "code": 6605 5485 }, 5486 "Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it.": { 5487 "category": "Message", 5488 "code": 6606 5489 }, 5490 "Specify the base directory to resolve non-relative module names.": { 5491 "category": "Message", 5492 "code": 6607 5493 }, 5494 "No longer supported. In early versions, manually set the text encoding for reading files.": { 5495 "category": "Message", 5496 "code": 6608 5497 }, 5498 "Enable error reporting in type-checked JavaScript files.": { 5499 "category": "Message", 5500 "code": 6609 5501 }, 5502 "Enable constraints that allow a TypeScript project to be used with project references.": { 5503 "category": "Message", 5504 "code": 6611 5505 }, 5506 "Generate .d.ts files from TypeScript and JavaScript files in your project.": { 5507 "category": "Message", 5508 "code": 6612 5509 }, 5510 "Specify the output directory for generated declaration files.": { 5511 "category": "Message", 5512 "code": 6613 5513 }, 5514 "Create sourcemaps for d.ts files.": { 5515 "category": "Message", 5516 "code": 6614 5517 }, 5518 "Output compiler performance information after building.": { 5519 "category": "Message", 5520 "code": 6615 5521 }, 5522 "Disables inference for type acquisition by looking at filenames in a project.": { 5523 "category": "Message", 5524 "code": 6616 5525 }, 5526 "Reduce the number of projects loaded automatically by TypeScript.": { 5527 "category": "Message", 5528 "code": 6617 5529 }, 5530 "Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server.": { 5531 "category": "Message", 5532 "code": 6618 5533 }, 5534 "Opt a project out of multi-project reference checking when editing.": { 5535 "category": "Message", 5536 "code": 6619 5537 }, 5538 "Disable preferring source files instead of declaration files when referencing composite projects.": { 5539 "category": "Message", 5540 "code": 6620 5541 }, 5542 "Emit more compliant, but verbose and less performant JavaScript for iteration.": { 5543 "category": "Message", 5544 "code": 6621 5545 }, 5546 "Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.": { 5547 "category": "Message", 5548 "code": 6622 5549 }, 5550 "Only output d.ts files and not JavaScript files.": { 5551 "category": "Message", 5552 "code": 6623 5553 }, 5554 "Emit design-type metadata for decorated declarations in source files.": { 5555 "category": "Message", 5556 "code": 6624 5557 }, 5558 "Disable the type acquisition for JavaScript projects": { 5559 "category": "Message", 5560 "code": 6625 5561 }, 5562 "Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility.": { 5563 "category": "Message", 5564 "code": 6626 5565 }, 5566 "Filters results from the `include` option.": { 5567 "category": "Message", 5568 "code": 6627 5569 }, 5570 "Remove a list of directories from the watch process.": { 5571 "category": "Message", 5572 "code": 6628 5573 }, 5574 "Remove a list of files from the watch mode's processing.": { 5575 "category": "Message", 5576 "code": 6629 5577 }, 5578 "Enable experimental support for TC39 stage 2 draft decorators.": { 5579 "category": "Message", 5580 "code": 6630 5581 }, 5582 "Print files read during the compilation including why it was included.": { 5583 "category": "Message", 5584 "code": 6631 5585 }, 5586 "Output more detailed compiler performance information after building.": { 5587 "category": "Message", 5588 "code": 6632 5589 }, 5590 "Specify one or more path or node module references to base configuration files from which settings are inherited.": { 5591 "category": "Message", 5592 "code": 6633 5593 }, 5594 "Specify what approach the watcher should use if the system runs out of native file watchers.": { 5595 "category": "Message", 5596 "code": 6634 5597 }, 5598 "Include a list of files. This does not support glob patterns, as opposed to `include`.": { 5599 "category": "Message", 5600 "code": 6635 5601 }, 5602 "Build all projects, including those that appear to be up to date.": { 5603 "category": "Message", 5604 "code": 6636 5605 }, 5606 "Ensure that casing is correct in imports.": { 5607 "category": "Message", 5608 "code": 6637 5609 }, 5610 "Emit a v8 CPU profile of the compiler run for debugging.": { 5611 "category": "Message", 5612 "code": 6638 5613 }, 5614 "Allow importing helper functions from tslib once per project, instead of including them per-file.": { 5615 "category": "Message", 5616 "code": 6639 5617 }, 5618 "Specify a list of glob patterns that match files to be included in compilation.": { 5619 "category": "Message", 5620 "code": 6641 5621 }, 5622 "Save .tsbuildinfo files to allow for incremental compilation of projects.": { 5623 "category": "Message", 5624 "code": 6642 5625 }, 5626 "Include sourcemap files inside the emitted JavaScript.": { 5627 "category": "Message", 5628 "code": 6643 5629 }, 5630 "Include source code in the sourcemaps inside the emitted JavaScript.": { 5631 "category": "Message", 5632 "code": 6644 5633 }, 5634 "Ensure that each file can be safely transpiled without relying on other imports.": { 5635 "category": "Message", 5636 "code": 6645 5637 }, 5638 "Specify what JSX code is generated.": { 5639 "category": "Message", 5640 "code": 6646 5641 }, 5642 "Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'.": { 5643 "category": "Message", 5644 "code": 6647 5645 }, 5646 "Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.": { 5647 "category": "Message", 5648 "code": 6648 5649 }, 5650 "Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'.": { 5651 "category": "Message", 5652 "code": 6649 5653 }, 5654 "Make keyof only return strings instead of string, numbers or symbols. Legacy option.": { 5655 "category": "Message", 5656 "code": 6650 5657 }, 5658 "Specify a set of bundled library declaration files that describe the target runtime environment.": { 5659 "category": "Message", 5660 "code": 6651 5661 }, 5662 "Print the names of emitted files after a compilation.": { 5663 "category": "Message", 5664 "code": 6652 5665 }, 5666 "Print all of the files read during the compilation.": { 5667 "category": "Message", 5668 "code": 6653 5669 }, 5670 "Set the language of the messaging from TypeScript. This does not affect emit.": { 5671 "category": "Message", 5672 "code": 6654 5673 }, 5674 "Specify the location where debugger should locate map files instead of generated locations.": { 5675 "category": "Message", 5676 "code": 6655 5677 }, 5678 "Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'.": { 5679 "category": "Message", 5680 "code": 6656 5681 }, 5682 "Specify what module code is generated.": { 5683 "category": "Message", 5684 "code": 6657 5685 }, 5686 "Specify how TypeScript looks up a file from a given module specifier.": { 5687 "category": "Message", 5688 "code": 6658 5689 }, 5690 "Set the newline character for emitting files.": { 5691 "category": "Message", 5692 "code": 6659 5693 }, 5694 "Disable emitting files from a compilation.": { 5695 "category": "Message", 5696 "code": 6660 5697 }, 5698 "Disable generating custom helper functions like '__extends' in compiled output.": { 5699 "category": "Message", 5700 "code": 6661 5701 }, 5702 "Disable emitting files if any type checking errors are reported.": { 5703 "category": "Message", 5704 "code": 6662 5705 }, 5706 "Disable truncating types in error messages.": { 5707 "category": "Message", 5708 "code": 6663 5709 }, 5710 "Enable error reporting for fallthrough cases in switch statements.": { 5711 "category": "Message", 5712 "code": 6664 5713 }, 5714 "Enable error reporting for expressions and declarations with an implied 'any' type.": { 5715 "category": "Message", 5716 "code": 6665 5717 }, 5718 "Ensure overriding members in derived classes are marked with an override modifier.": { 5719 "category": "Message", 5720 "code": 6666 5721 }, 5722 "Enable error reporting for codepaths that do not explicitly return in a function.": { 5723 "category": "Message", 5724 "code": 6667 5725 }, 5726 "Enable error reporting when 'this' is given the type 'any'.": { 5727 "category": "Message", 5728 "code": 6668 5729 }, 5730 "Disable adding 'use strict' directives in emitted JavaScript files.": { 5731 "category": "Message", 5732 "code": 6669 5733 }, 5734 "Disable including any library files, including the default lib.d.ts.": { 5735 "category": "Message", 5736 "code": 6670 5737 }, 5738 "Enforces using indexed accessors for keys declared using an indexed type.": { 5739 "category": "Message", 5740 "code": 6671 5741 }, 5742 "Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project.": { 5743 "category": "Message", 5744 "code": 6672 5745 }, 5746 "Disable strict checking of generic signatures in function types.": { 5747 "category": "Message", 5748 "code": 6673 5749 }, 5750 "Add 'undefined' to a type when accessed using an index.": { 5751 "category": "Message", 5752 "code": 6674 5753 }, 5754 "Enable error reporting when local variables aren't read.": { 5755 "category": "Message", 5756 "code": 6675 5757 }, 5758 "Raise an error when a function parameter isn't read.": { 5759 "category": "Message", 5760 "code": 6676 5761 }, 5762 "Deprecated setting. Use 'outFile' instead.": { 5763 "category": "Message", 5764 "code": 6677 5765 }, 5766 "Specify an output folder for all emitted files.": { 5767 "category": "Message", 5768 "code": 6678 5769 }, 5770 "Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output.": { 5771 "category": "Message", 5772 "code": 6679 5773 }, 5774 "Specify a set of entries that re-map imports to additional lookup locations.": { 5775 "category": "Message", 5776 "code": 6680 5777 }, 5778 "Specify a list of language service plugins to include.": { 5779 "category": "Message", 5780 "code": 6681 5781 }, 5782 "Disable erasing 'const enum' declarations in generated code.": { 5783 "category": "Message", 5784 "code": 6682 5785 }, 5786 "Disable resolving symlinks to their realpath. This correlates to the same flag in node.": { 5787 "category": "Message", 5788 "code": 6683 5789 }, 5790 "Disable wiping the console in watch mode.": { 5791 "category": "Message", 5792 "code": 6684 5793 }, 5794 "Enable color and formatting in TypeScript's output to make compiler errors easier to read.": { 5795 "category": "Message", 5796 "code": 6685 5797 }, 5798 "Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit.": { 5799 "category": "Message", 5800 "code": 6686 5801 }, 5802 "Specify an array of objects that specify paths for projects. Used in project references.": { 5803 "category": "Message", 5804 "code": 6687 5805 }, 5806 "Disable emitting comments.": { 5807 "category": "Message", 5808 "code": 6688 5809 }, 5810 "Enable importing .json files.": { 5811 "category": "Message", 5812 "code": 6689 5813 }, 5814 "Specify the root folder within your source files.": { 5815 "category": "Message", 5816 "code": 6690 5817 }, 5818 "Allow multiple folders to be treated as one when resolving modules.": { 5819 "category": "Message", 5820 "code": 6691 5821 }, 5822 "Skip type checking .d.ts files that are included with TypeScript.": { 5823 "category": "Message", 5824 "code": 6692 5825 }, 5826 "Skip type checking all .d.ts files.": { 5827 "category": "Message", 5828 "code": 6693 5829 }, 5830 "Create source map files for emitted JavaScript files.": { 5831 "category": "Message", 5832 "code": 6694 5833 }, 5834 "Specify the root path for debuggers to find the reference source code.": { 5835 "category": "Message", 5836 "code": 6695 5837 }, 5838 "Check that the arguments for 'bind', 'call', and 'apply' methods match the original function.": { 5839 "category": "Message", 5840 "code": 6697 5841 }, 5842 "When assigning functions, check to ensure parameters and the return values are subtype-compatible.": { 5843 "category": "Message", 5844 "code": 6698 5845 }, 5846 "When type checking, take into account 'null' and 'undefined'.": { 5847 "category": "Message", 5848 "code": 6699 5849 }, 5850 "Check for class properties that are declared but not set in the constructor.": { 5851 "category": "Message", 5852 "code": 6700 5853 }, 5854 "Disable emitting declarations that have '@internal' in their JSDoc comments.": { 5855 "category": "Message", 5856 "code": 6701 5857 }, 5858 "Disable reporting of excess property errors during the creation of object literals.": { 5859 "category": "Message", 5860 "code": 6702 5861 }, 5862 "Suppress 'noImplicitAny' errors when indexing objects that lack index signatures.": { 5863 "category": "Message", 5864 "code": 6703 5865 }, 5866 "Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively.": { 5867 "category": "Message", 5868 "code": 6704 5869 }, 5870 "Set the JavaScript language version for emitted JavaScript and include compatible library declarations.": { 5871 "category": "Message", 5872 "code": 6705 5873 }, 5874 "Log paths used during the 'moduleResolution' process.": { 5875 "category": "Message", 5876 "code": 6706 5877 }, 5878 "Specify the path to .tsbuildinfo incremental compilation file.": { 5879 "category": "Message", 5880 "code": 6707 5881 }, 5882 "Specify options for automatic acquisition of declaration files.": { 5883 "category": "Message", 5884 "code": 6709 5885 }, 5886 "Specify multiple folders that act like './node_modules/@types'.": { 5887 "category": "Message", 5888 "code": 6710 5889 }, 5890 "Specify type package names to be included without being referenced in a source file.": { 5891 "category": "Message", 5892 "code": 6711 5893 }, 5894 "Emit ECMAScript-standard-compliant class fields.": { 5895 "category": "Message", 5896 "code": 6712 5897 }, 5898 "Enable verbose logging.": { 5899 "category": "Message", 5900 "code": 6713 5901 }, 5902 "Specify how directories are watched on systems that lack recursive file-watching functionality.": { 5903 "category": "Message", 5904 "code": 6714 5905 }, 5906 "Specify how the TypeScript watch mode works.": { 5907 "category": "Message", 5908 "code": 6715 5909 }, 5910 "Require undeclared properties from index signatures to use element accesses.": { 5911 "category": "Message", 5912 "code": 6717 5913 }, 5914 "Specify emit/checking behavior for imports that are only used for types.": { 5915 "category": "Message", 5916 "code": 6718 5917 }, 5918 "Default catch clause variables as 'unknown' instead of 'any'.": { 5919 "category": "Message", 5920 "code": 6803 5921 }, 5922 5923 "one of:": { 5924 "category": "Message", 5925 "code": 6900 5926 }, 5927 "one or more:": { 5928 "category": "Message", 5929 "code": 6901 5930 }, 5931 "type:": { 5932 "category": "Message", 5933 "code": 6902 5934 }, 5935 "default:": { 5936 "category": "Message", 5937 "code": 6903 5938 }, 5939 "module === \"system\" or esModuleInterop": { 5940 "category": "Message", 5941 "code": 6904 5942 }, 5943 "`false`, unless `strict` is set": { 5944 "category": "Message", 5945 "code": 6905 5946 }, 5947 "`false`, unless `composite` is set": { 5948 "category": "Message", 5949 "code": 6906 5950 }, 5951 "`[\"node_modules\", \"bower_components\", \"jspm_packages\"]`, plus the value of `outDir` if one is specified.": { 5952 "category": "Message", 5953 "code": 6907 5954 }, 5955 "`[]` if `files` is specified, otherwise `[\"**/*\"]`": { 5956 "category": "Message", 5957 "code": 6908 5958 }, 5959 "`true` if `composite`, `false` otherwise": { 5960 "category": "Message", 5961 "code": 6909 5962 }, 5963 "module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`": { 5964 "category": "Message", 5965 "code": 69010 5966 }, 5967 "Computed from the list of input files": { 5968 "category": "Message", 5969 "code": 6911 5970 }, 5971 "Platform specific": { 5972 "category": "Message", 5973 "code": 6912 5974 }, 5975 "You can learn about all of the compiler options at {0}": { 5976 "category": "Message", 5977 "code": 6913 5978 }, 5979 "Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:": { 5980 "category": "Message", 5981 "code": 6914 5982 }, 5983 "Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}": { 5984 "category": "Message", 5985 "code": 6915 5986 }, 5987 "COMMON COMMANDS": { 5988 "category": "Message", 5989 "code": 6916 5990 }, 5991 "ALL COMPILER OPTIONS": { 5992 "category": "Message", 5993 "code": 6917 5994 }, 5995 "WATCH OPTIONS": { 5996 "category": "Message", 5997 "code": 6918 5998 }, 5999 "BUILD OPTIONS": { 6000 "category": "Message", 6001 "code": 6919 6002 }, 6003 "COMMON COMPILER OPTIONS": { 6004 "category": "Message", 6005 "code": 6920 6006 }, 6007 "COMMAND LINE FLAGS": { 6008 "category": "Message", 6009 "code": 6921 6010 }, 6011 "tsc: The TypeScript Compiler": { 6012 "category": "Message", 6013 "code": 6922 6014 }, 6015 "Compiles the current project (tsconfig.json in the working directory.)": { 6016 "category": "Message", 6017 "code": 6923 6018 }, 6019 "Ignoring tsconfig.json, compiles the specified files with default compiler options.": { 6020 "category": "Message", 6021 "code": 6924 6022 }, 6023 "Build a composite project in the working directory.": { 6024 "category": "Message", 6025 "code": 6925 6026 }, 6027 "Creates a tsconfig.json with the recommended settings in the working directory.": { 6028 "category": "Message", 6029 "code": 6926 6030 }, 6031 "Compiles the TypeScript project located at the specified path.": { 6032 "category": "Message", 6033 "code": 6927 6034 }, 6035 "An expanded version of this information, showing all possible compiler options": { 6036 "category": "Message", 6037 "code": 6928 6038 }, 6039 "Compiles the current project, with additional settings.": { 6040 "category": "Message", 6041 "code": 6929 6042 }, 6043 "`true` for ES2022 and above, including ESNext.": { 6044 "category": "Message", 6045 "code": 6930 6046 }, 6047 "List of file name suffixes to search when resolving a module." : { 6048 "category": "Error", 6049 "code": 6931 6050 }, 6051 6052 "Variable '{0}' implicitly has an '{1}' type.": { 6053 "category": "Error", 6054 "code": 7005 6055 }, 6056 "Parameter '{0}' implicitly has an '{1}' type.": { 6057 "category": "Error", 6058 "code": 7006 6059 }, 6060 "Member '{0}' implicitly has an '{1}' type.": { 6061 "category": "Error", 6062 "code": 7008 6063 }, 6064 "'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.": { 6065 "category": "Error", 6066 "code": 7009 6067 }, 6068 "'{0}', which lacks return-type annotation, implicitly has an '{1}' return type.": { 6069 "category": "Error", 6070 "code": 7010 6071 }, 6072 "Function expression, which lacks return-type annotation, implicitly has an '{0}' return type.": { 6073 "category": "Error", 6074 "code": 7011 6075 }, 6076 "Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.": { 6077 "category": "Error", 6078 "code": 7013 6079 }, 6080 "Function type, which lacks return-type annotation, implicitly has an '{0}' return type.": { 6081 "category": "Error", 6082 "code": 7014 6083 }, 6084 "Element implicitly has an 'any' type because index expression is not of type 'number'.": { 6085 "category": "Error", 6086 "code": 7015 6087 }, 6088 "Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type.": { 6089 "category": "Error", 6090 "code": 7016 6091 }, 6092 "Element implicitly has an 'any' type because type '{0}' has no index signature.": { 6093 "category": "Error", 6094 "code": 7017 6095 }, 6096 "Object literal's property '{0}' implicitly has an '{1}' type.": { 6097 "category": "Error", 6098 "code": 7018 6099 }, 6100 "Rest parameter '{0}' implicitly has an 'any[]' type.": { 6101 "category": "Error", 6102 "code": 7019 6103 }, 6104 "Call signature, which lacks return-type annotation, implicitly has an 'any' return type.": { 6105 "category": "Error", 6106 "code": 7020 6107 }, 6108 "'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.": { 6109 "category": "Error", 6110 "code": 7022 6111 }, 6112 "'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.": { 6113 "category": "Error", 6114 "code": 7023 6115 }, 6116 "Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.": { 6117 "category": "Error", 6118 "code": 7024 6119 }, 6120 "Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation.": { 6121 "category": "Error", 6122 "code": 7025 6123 }, 6124 "JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists.": { 6125 "category": "Error", 6126 "code": 7026 6127 }, 6128 "Unreachable code detected.": { 6129 "category": "Error", 6130 "code": 7027, 6131 "reportsUnnecessary": true 6132 }, 6133 "Unused label.": { 6134 "category": "Error", 6135 "code": 7028, 6136 "reportsUnnecessary": true 6137 }, 6138 "Fallthrough case in switch.": { 6139 "category": "Error", 6140 "code": 7029 6141 }, 6142 "Not all code paths return a value.": { 6143 "category": "Error", 6144 "code": 7030 6145 }, 6146 "Binding element '{0}' implicitly has an '{1}' type.": { 6147 "category": "Error", 6148 "code": 7031 6149 }, 6150 "Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation.": { 6151 "category": "Error", 6152 "code": 7032 6153 }, 6154 "Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation.": { 6155 "category": "Error", 6156 "code": 7033 6157 }, 6158 "Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined.": { 6159 "category": "Error", 6160 "code": 7034 6161 }, 6162 "Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`": { 6163 "category": "Error", 6164 "code": 7035 6165 }, 6166 "Dynamic import's specifier must be of type 'string', but here has type '{0}'.": { 6167 "category": "Error", 6168 "code": 7036 6169 }, 6170 "Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.": { 6171 "category": "Message", 6172 "code": 7037 6173 }, 6174 "Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead.": { 6175 "category": "Message", 6176 "code": 7038 6177 }, 6178 "Mapped object type implicitly has an 'any' template type.": { 6179 "category": "Error", 6180 "code": 7039 6181 }, 6182 "If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'": { 6183 "category": "Error", 6184 "code": 7040 6185 }, 6186 "The containing arrow function captures the global value of 'this'.": { 6187 "category": "Error", 6188 "code": 7041 6189 }, 6190 "Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used.": { 6191 "category": "Error", 6192 "code": 7042 6193 }, 6194 "Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.": { 6195 "category": "Suggestion", 6196 "code": 7043 6197 }, 6198 "Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.": { 6199 "category": "Suggestion", 6200 "code": 7044 6201 }, 6202 "Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.": { 6203 "category": "Suggestion", 6204 "code": 7045 6205 }, 6206 "Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage.": { 6207 "category": "Suggestion", 6208 "code": 7046 6209 }, 6210 "Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage.": { 6211 "category": "Suggestion", 6212 "code": 7047 6213 }, 6214 "Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage.": { 6215 "category": "Suggestion", 6216 "code": 7048 6217 }, 6218 "Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage.": { 6219 "category": "Suggestion", 6220 "code": 7049 6221 }, 6222 "'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage.": { 6223 "category": "Suggestion", 6224 "code": 7050 6225 }, 6226 "Parameter has a name but no type. Did you mean '{0}: {1}'?": { 6227 "category": "Error", 6228 "code": 7051 6229 }, 6230 "Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?": { 6231 "category": "Error", 6232 "code": 7052 6233 }, 6234 "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'.": { 6235 "category": "Error", 6236 "code": 7053 6237 }, 6238 "No index signature with a parameter of type '{0}' was found on type '{1}'.": { 6239 "category": "Error", 6240 "code": 7054 6241 }, 6242 "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type.": { 6243 "category": "Error", 6244 "code": 7055 6245 }, 6246 "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.": { 6247 "category": "Error", 6248 "code": 7056 6249 }, 6250 "'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation.": { 6251 "category": "Error", 6252 "code": 7057 6253 }, 6254 "If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`": { 6255 "category": "Error", 6256 "code": 7058 6257 }, 6258 "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.": { 6259 "category": "Error", 6260 "code": 7059 6261 }, 6262 "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint.": { 6263 "category": "Error", 6264 "code": 7060 6265 }, 6266 "A mapped type may not declare properties or methods.": { 6267 "category": "Error", 6268 "code": 7061 6269 }, 6270 6271 "You cannot rename this element.": { 6272 "category": "Error", 6273 "code": 8000 6274 }, 6275 "You cannot rename elements that are defined in the standard TypeScript library.": { 6276 "category": "Error", 6277 "code": 8001 6278 }, 6279 "'import ... =' can only be used in TypeScript files.": { 6280 "category": "Error", 6281 "code": 8002 6282 }, 6283 "'export =' can only be used in TypeScript files.": { 6284 "category": "Error", 6285 "code": 8003 6286 }, 6287 "Type parameter declarations can only be used in TypeScript files.": { 6288 "category": "Error", 6289 "code": 8004 6290 }, 6291 "'implements' clauses can only be used in TypeScript files.": { 6292 "category": "Error", 6293 "code": 8005 6294 }, 6295 "'{0}' declarations can only be used in TypeScript files.": { 6296 "category": "Error", 6297 "code": 8006 6298 }, 6299 "Type aliases can only be used in TypeScript files.": { 6300 "category": "Error", 6301 "code": 8008 6302 }, 6303 "The '{0}' modifier can only be used in TypeScript files.": { 6304 "category": "Error", 6305 "code": 8009 6306 }, 6307 "Type annotations can only be used in TypeScript files.": { 6308 "category": "Error", 6309 "code": 8010 6310 }, 6311 "Type arguments can only be used in TypeScript files.": { 6312 "category": "Error", 6313 "code": 8011 6314 }, 6315 "Parameter modifiers can only be used in TypeScript files.": { 6316 "category": "Error", 6317 "code": 8012 6318 }, 6319 "Non-null assertions can only be used in TypeScript files.": { 6320 "category": "Error", 6321 "code": 8013 6322 }, 6323 "Type assertion expressions can only be used in TypeScript files.": { 6324 "category": "Error", 6325 "code": 8016 6326 }, 6327 "Octal literal types must use ES2015 syntax. Use the syntax '{0}'.": { 6328 "category": "Error", 6329 "code": 8017 6330 }, 6331 "Octal literals are not allowed in enums members initializer. Use the syntax '{0}'.": { 6332 "category": "Error", 6333 "code": 8018 6334 }, 6335 "Report errors in .js files.": { 6336 "category": "Message", 6337 "code": 8019 6338 }, 6339 "JSDoc types can only be used inside documentation comments.": { 6340 "category": "Error", 6341 "code": 8020 6342 }, 6343 "JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags.": { 6344 "category": "Error", 6345 "code": 8021 6346 }, 6347 "JSDoc '@{0}' is not attached to a class.": { 6348 "category": "Error", 6349 "code": 8022 6350 }, 6351 "JSDoc '@{0} {1}' does not match the 'extends {2}' clause.": { 6352 "category": "Error", 6353 "code": 8023 6354 }, 6355 "JSDoc '@param' tag has name '{0}', but there is no parameter with that name.": { 6356 "category": "Error", 6357 "code": 8024 6358 }, 6359 "Class declarations cannot have more than one '@augments' or '@extends' tag.": { 6360 "category": "Error", 6361 "code": 8025 6362 }, 6363 "Expected {0} type arguments; provide these with an '@extends' tag.": { 6364 "category": "Error", 6365 "code": 8026 6366 }, 6367 "Expected {0}-{1} type arguments; provide these with an '@extends' tag.": { 6368 "category": "Error", 6369 "code": 8027 6370 }, 6371 "JSDoc '...' may only appear in the last parameter of a signature.": { 6372 "category": "Error", 6373 "code": 8028 6374 }, 6375 "JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type.": { 6376 "category": "Error", 6377 "code": 8029 6378 }, 6379 "The type of a function declaration must match the function's signature.": { 6380 "category": "Error", 6381 "code": 8030 6382 }, 6383 "You cannot rename a module via a global import.": { 6384 "category": "Error", 6385 "code": 8031 6386 }, 6387 "Qualified name '{0}' is not allowed without a leading '@param {object} {1}'.": { 6388 "category": "Error", 6389 "code": 8032 6390 }, 6391 "A JSDoc '@typedef' comment may not contain multiple '@type' tags.": { 6392 "category": "Error", 6393 "code": 8033 6394 }, 6395 "The tag was first specified here.": { 6396 "category": "Error", 6397 "code": 8034 6398 }, 6399 "You cannot rename elements that are defined in a 'node_modules' folder.": { 6400 "category": "Error", 6401 "code": 8035 6402 }, 6403 "You cannot rename elements that are defined in another 'node_modules' folder.": { 6404 "category": "Error", 6405 "code": 8036 6406 }, 6407 "Type satisfaction expressions can only be used in TypeScript files.": { 6408 "category": "Error", 6409 "code": 8037 6410 }, 6411 6412 "Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit.": { 6413 "category": "Error", 6414 "code": 9005 6415 }, 6416 "Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit.": { 6417 "category": "Error", 6418 "code": 9006 6419 }, 6420 "JSX attributes must only be assigned a non-empty 'expression'.": { 6421 "category": "Error", 6422 "code": 17000 6423 }, 6424 "JSX elements cannot have multiple attributes with the same name.": { 6425 "category": "Error", 6426 "code": 17001 6427 }, 6428 "Expected corresponding JSX closing tag for '{0}'.": { 6429 "category": "Error", 6430 "code": 17002 6431 }, 6432 "Cannot use JSX unless the '--jsx' flag is provided.": { 6433 "category": "Error", 6434 "code": 17004 6435 }, 6436 "A constructor cannot contain a 'super' call when its class extends 'null'.": { 6437 "category": "Error", 6438 "code": 17005 6439 }, 6440 "An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.": { 6441 "category": "Error", 6442 "code": 17006 6443 }, 6444 "A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.": { 6445 "category": "Error", 6446 "code": 17007 6447 }, 6448 "JSX element '{0}' has no corresponding closing tag.": { 6449 "category": "Error", 6450 "code": 17008 6451 }, 6452 "'super' must be called before accessing 'this' in the constructor of a derived class.": { 6453 "category": "Error", 6454 "code": 17009 6455 }, 6456 "Unknown type acquisition option '{0}'.": { 6457 "category": "Error", 6458 "code": 17010 6459 }, 6460 "'super' must be called before accessing a property of 'super' in the constructor of a derived class.": { 6461 "category": "Error", 6462 "code": 17011 6463 }, 6464 "'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?": { 6465 "category": "Error", 6466 "code": 17012 6467 }, 6468 "Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor.": { 6469 "category": "Error", 6470 "code": 17013 6471 }, 6472 "JSX fragment has no corresponding closing tag.": { 6473 "category": "Error", 6474 "code": 17014 6475 }, 6476 "Expected corresponding closing tag for JSX fragment.": { 6477 "category": "Error", 6478 "code": 17015 6479 }, 6480 "The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option.": { 6481 "category": "Error", 6482 "code": 17016 6483 }, 6484 "An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.": { 6485 "category": "Error", 6486 "code": 17017 6487 }, 6488 "Unknown type acquisition option '{0}'. Did you mean '{1}'?": { 6489 "category": "Error", 6490 "code": 17018 6491 }, 6492 "Circularity detected while resolving configuration: {0}": { 6493 "category": "Error", 6494 "code": 18000 6495 }, 6496 "The 'files' list in config file '{0}' is empty.": { 6497 "category": "Error", 6498 "code": 18002 6499 }, 6500 "No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'.": { 6501 "category": "Error", 6502 "code": 18003 6503 }, 6504 6505 "File is a CommonJS module; it may be converted to an ES module.": { 6506 "category": "Suggestion", 6507 "code": 80001 6508 }, 6509 "This constructor function may be converted to a class declaration.": { 6510 "category": "Suggestion", 6511 "code": 80002 6512 }, 6513 "Import may be converted to a default import.": { 6514 "category": "Suggestion", 6515 "code": 80003 6516 }, 6517 "JSDoc types may be moved to TypeScript types.": { 6518 "category": "Suggestion", 6519 "code": 80004 6520 }, 6521 "'require' call may be converted to an import.": { 6522 "category": "Suggestion", 6523 "code": 80005 6524 }, 6525 "This may be converted to an async function.": { 6526 "category": "Suggestion", 6527 "code": 80006 6528 }, 6529 "'await' has no effect on the type of this expression.": { 6530 "category": "Suggestion", 6531 "code": 80007 6532 }, 6533 "Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers.": { 6534 "category": "Suggestion", 6535 "code": 80008 6536 }, 6537 6538 "Add missing 'super()' call": { 6539 "category": "Message", 6540 "code": 90001 6541 }, 6542 "Make 'super()' call the first statement in the constructor": { 6543 "category": "Message", 6544 "code": 90002 6545 }, 6546 "Change 'extends' to 'implements'": { 6547 "category": "Message", 6548 "code": 90003 6549 }, 6550 "Remove unused declaration for: '{0}'": { 6551 "category": "Message", 6552 "code": 90004 6553 }, 6554 "Remove import from '{0}'": { 6555 "category": "Message", 6556 "code": 90005 6557 }, 6558 "Implement interface '{0}'": { 6559 "category": "Message", 6560 "code": 90006 6561 }, 6562 "Implement inherited abstract class": { 6563 "category": "Message", 6564 "code": 90007 6565 }, 6566 "Add '{0}.' to unresolved variable": { 6567 "category": "Message", 6568 "code": 90008 6569 }, 6570 "Remove variable statement": { 6571 "category": "Message", 6572 "code": 90010 6573 }, 6574 "Remove template tag": { 6575 "category": "Message", 6576 "code": 90011 6577 }, 6578 "Remove type parameters": { 6579 "category": "Message", 6580 "code": 90012 6581 }, 6582 "Import '{0}' from \"{1}\"": { 6583 "category": "Message", 6584 "code": 90013 6585 }, 6586 "Change '{0}' to '{1}'": { 6587 "category": "Message", 6588 "code": 90014 6589 }, 6590 "Declare property '{0}'": { 6591 "category": "Message", 6592 "code": 90016 6593 }, 6594 "Add index signature for property '{0}'": { 6595 "category": "Message", 6596 "code": 90017 6597 }, 6598 "Disable checking for this file": { 6599 "category": "Message", 6600 "code": 90018 6601 }, 6602 "Ignore this error message": { 6603 "category": "Message", 6604 "code": 90019 6605 }, 6606 "Initialize property '{0}' in the constructor": { 6607 "category": "Message", 6608 "code": 90020 6609 }, 6610 "Initialize static property '{0}'": { 6611 "category": "Message", 6612 "code": 90021 6613 }, 6614 "Change spelling to '{0}'": { 6615 "category": "Message", 6616 "code": 90022 6617 }, 6618 "Declare method '{0}'": { 6619 "category": "Message", 6620 "code": 90023 6621 }, 6622 "Declare static method '{0}'": { 6623 "category": "Message", 6624 "code": 90024 6625 }, 6626 "Prefix '{0}' with an underscore": { 6627 "category": "Message", 6628 "code": 90025 6629 }, 6630 "Rewrite as the indexed access type '{0}'": { 6631 "category": "Message", 6632 "code": 90026 6633 }, 6634 "Declare static property '{0}'": { 6635 "category": "Message", 6636 "code": 90027 6637 }, 6638 "Call decorator expression": { 6639 "category": "Message", 6640 "code": 90028 6641 }, 6642 "Add async modifier to containing function": { 6643 "category": "Message", 6644 "code": 90029 6645 }, 6646 "Replace 'infer {0}' with 'unknown'": { 6647 "category": "Message", 6648 "code": 90030 6649 }, 6650 "Replace all unused 'infer' with 'unknown'": { 6651 "category": "Message", 6652 "code": 90031 6653 }, 6654 "Add parameter name": { 6655 "category": "Message", 6656 "code": 90034 6657 }, 6658 "Declare private property '{0}'": { 6659 "category": "Message", 6660 "code": 90035 6661 }, 6662 "Replace '{0}' with 'Promise<{1}>'": { 6663 "category": "Message", 6664 "code": 90036 6665 }, 6666 "Fix all incorrect return type of an async functions": { 6667 "category": "Message", 6668 "code": 90037 6669 }, 6670 "Declare private method '{0}'": { 6671 "category": "Message", 6672 "code": 90038 6673 }, 6674 "Remove unused destructuring declaration": { 6675 "category": "Message", 6676 "code": 90039 6677 }, 6678 "Remove unused declarations for: '{0}'": { 6679 "category": "Message", 6680 "code": 90041 6681 }, 6682 "Declare a private field named '{0}'.": { 6683 "category": "Message", 6684 "code": 90053 6685 }, 6686 "Includes imports of types referenced by '{0}'": { 6687 "category": "Message", 6688 "code": 90054 6689 }, 6690 "Remove 'type' from import declaration from \"{0}\"": { 6691 "category": "Message", 6692 "code": 90055 6693 }, 6694 "Remove 'type' from import of '{0}' from \"{1}\"": { 6695 "category": "Message", 6696 "code": 90056 6697 }, 6698 "Add import from \"{0}\"": { 6699 "category": "Message", 6700 "code": 90057 6701 }, 6702 "Update import from \"{0}\"": { 6703 "category": "Message", 6704 "code": 90058 6705 }, 6706 "Export '{0}' from module '{1}'": { 6707 "category": "Message", 6708 "code": 90059 6709 }, 6710 "Export all referenced locals": { 6711 "category": "Message", 6712 "code": 90060 6713 }, 6714 6715 "Convert function to an ES2015 class": { 6716 "category": "Message", 6717 "code": 95001 6718 }, 6719 "Convert '{0}' to '{1} in {0}'": { 6720 "category": "Message", 6721 "code": 95003 6722 }, 6723 "Extract to {0} in {1}": { 6724 "category": "Message", 6725 "code": 95004 6726 }, 6727 "Extract function": { 6728 "category": "Message", 6729 "code": 95005 6730 }, 6731 "Extract constant": { 6732 "category": "Message", 6733 "code": 95006 6734 }, 6735 "Extract to {0} in enclosing scope": { 6736 "category": "Message", 6737 "code": 95007 6738 }, 6739 "Extract to {0} in {1} scope": { 6740 "category": "Message", 6741 "code": 95008 6742 }, 6743 "Annotate with type from JSDoc": { 6744 "category": "Message", 6745 "code": 95009 6746 }, 6747 "Infer type of '{0}' from usage": { 6748 "category": "Message", 6749 "code": 95011 6750 }, 6751 "Infer parameter types from usage": { 6752 "category": "Message", 6753 "code": 95012 6754 }, 6755 "Convert to default import": { 6756 "category": "Message", 6757 "code": 95013 6758 }, 6759 "Install '{0}'": { 6760 "category": "Message", 6761 "code": 95014 6762 }, 6763 "Replace import with '{0}'.": { 6764 "category": "Message", 6765 "code": 95015 6766 }, 6767 "Use synthetic 'default' member.": { 6768 "category": "Message", 6769 "code": 95016 6770 }, 6771 "Convert to ES module": { 6772 "category": "Message", 6773 "code": 95017 6774 }, 6775 "Add 'undefined' type to property '{0}'": { 6776 "category": "Message", 6777 "code": 95018 6778 }, 6779 "Add initializer to property '{0}'": { 6780 "category": "Message", 6781 "code": 95019 6782 }, 6783 "Add definite assignment assertion to property '{0}'": { 6784 "category": "Message", 6785 "code": 95020 6786 }, 6787 "Convert all type literals to mapped type": { 6788 "category": "Message", 6789 "code": 95021 6790 }, 6791 "Add all missing members": { 6792 "category": "Message", 6793 "code": 95022 6794 }, 6795 "Infer all types from usage": { 6796 "category": "Message", 6797 "code": 95023 6798 }, 6799 "Delete all unused declarations": { 6800 "category": "Message", 6801 "code": 95024 6802 }, 6803 "Prefix all unused declarations with '_' where possible": { 6804 "category": "Message", 6805 "code": 95025 6806 }, 6807 "Fix all detected spelling errors": { 6808 "category": "Message", 6809 "code": 95026 6810 }, 6811 "Add initializers to all uninitialized properties": { 6812 "category": "Message", 6813 "code": 95027 6814 }, 6815 "Add definite assignment assertions to all uninitialized properties": { 6816 "category": "Message", 6817 "code": 95028 6818 }, 6819 "Add undefined type to all uninitialized properties": { 6820 "category": "Message", 6821 "code": 95029 6822 }, 6823 "Change all jsdoc-style types to TypeScript": { 6824 "category": "Message", 6825 "code": 95030 6826 }, 6827 "Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)": { 6828 "category": "Message", 6829 "code": 95031 6830 }, 6831 "Implement all unimplemented interfaces": { 6832 "category": "Message", 6833 "code": 95032 6834 }, 6835 "Install all missing types packages": { 6836 "category": "Message", 6837 "code": 95033 6838 }, 6839 "Rewrite all as indexed access types": { 6840 "category": "Message", 6841 "code": 95034 6842 }, 6843 "Convert all to default imports": { 6844 "category": "Message", 6845 "code": 95035 6846 }, 6847 "Make all 'super()' calls the first statement in their constructor": { 6848 "category": "Message", 6849 "code": 95036 6850 }, 6851 "Add qualifier to all unresolved variables matching a member name": { 6852 "category": "Message", 6853 "code": 95037 6854 }, 6855 "Change all extended interfaces to 'implements'": { 6856 "category": "Message", 6857 "code": 95038 6858 }, 6859 "Add all missing super calls": { 6860 "category": "Message", 6861 "code": 95039 6862 }, 6863 "Implement all inherited abstract classes": { 6864 "category": "Message", 6865 "code": 95040 6866 }, 6867 "Add all missing 'async' modifiers": { 6868 "category": "Message", 6869 "code": 95041 6870 }, 6871 "Add '@ts-ignore' to all error messages": { 6872 "category": "Message", 6873 "code": 95042 6874 }, 6875 "Annotate everything with types from JSDoc": { 6876 "category": "Message", 6877 "code": 95043 6878 }, 6879 "Add '()' to all uncalled decorators": { 6880 "category": "Message", 6881 "code": 95044 6882 }, 6883 "Convert all constructor functions to classes": { 6884 "category": "Message", 6885 "code": 95045 6886 }, 6887 "Generate 'get' and 'set' accessors": { 6888 "category": "Message", 6889 "code": 95046 6890 }, 6891 "Convert 'require' to 'import'": { 6892 "category": "Message", 6893 "code": 95047 6894 }, 6895 "Convert all 'require' to 'import'": { 6896 "category": "Message", 6897 "code": 95048 6898 }, 6899 "Move to a new file": { 6900 "category": "Message", 6901 "code": 95049 6902 }, 6903 "Remove unreachable code": { 6904 "category": "Message", 6905 "code": 95050 6906 }, 6907 "Remove all unreachable code": { 6908 "category": "Message", 6909 "code": 95051 6910 }, 6911 "Add missing 'typeof'": { 6912 "category": "Message", 6913 "code": 95052 6914 }, 6915 "Remove unused label": { 6916 "category": "Message", 6917 "code": 95053 6918 }, 6919 "Remove all unused labels": { 6920 "category": "Message", 6921 "code": 95054 6922 }, 6923 "Convert '{0}' to mapped object type": { 6924 "category": "Message", 6925 "code": 95055 6926 }, 6927 "Convert namespace import to named imports": { 6928 "category": "Message", 6929 "code": 95056 6930 }, 6931 "Convert named imports to namespace import": { 6932 "category": "Message", 6933 "code": 95057 6934 }, 6935 "Add or remove braces in an arrow function": { 6936 "category": "Message", 6937 "code": 95058 6938 }, 6939 "Add braces to arrow function": { 6940 "category": "Message", 6941 "code": 95059 6942 }, 6943 "Remove braces from arrow function": { 6944 "category": "Message", 6945 "code": 95060 6946 }, 6947 "Convert default export to named export": { 6948 "category": "Message", 6949 "code": 95061 6950 }, 6951 "Convert named export to default export": { 6952 "category": "Message", 6953 "code": 95062 6954 }, 6955 "Add missing enum member '{0}'": { 6956 "category": "Message", 6957 "code": 95063 6958 }, 6959 "Add all missing imports": { 6960 "category": "Message", 6961 "code": 95064 6962 }, 6963 "Convert to async function": { 6964 "category": "Message", 6965 "code": 95065 6966 }, 6967 "Convert all to async functions": { 6968 "category": "Message", 6969 "code": 95066 6970 }, 6971 "Add missing call parentheses": { 6972 "category": "Message", 6973 "code": 95067 6974 }, 6975 "Add all missing call parentheses": { 6976 "category": "Message", 6977 "code": 95068 6978 }, 6979 "Add 'unknown' conversion for non-overlapping types": { 6980 "category": "Message", 6981 "code": 95069 6982 }, 6983 "Add 'unknown' to all conversions of non-overlapping types": { 6984 "category": "Message", 6985 "code": 95070 6986 }, 6987 "Add missing 'new' operator to call": { 6988 "category": "Message", 6989 "code": 95071 6990 }, 6991 "Add missing 'new' operator to all calls": { 6992 "category": "Message", 6993 "code": 95072 6994 }, 6995 "Add names to all parameters without names": { 6996 "category": "Message", 6997 "code": 95073 6998 }, 6999 "Enable the 'experimentalDecorators' option in your configuration file": { 7000 "category": "Message", 7001 "code": 95074 7002 }, 7003 "Convert parameters to destructured object": { 7004 "category": "Message", 7005 "code": 95075 7006 }, 7007 "Extract type": { 7008 "category": "Message", 7009 "code": 95077 7010 }, 7011 "Extract to type alias": { 7012 "category": "Message", 7013 "code": 95078 7014 }, 7015 "Extract to typedef": { 7016 "category": "Message", 7017 "code": 95079 7018 }, 7019 "Infer 'this' type of '{0}' from usage": { 7020 "category": "Message", 7021 "code": 95080 7022 }, 7023 "Add 'const' to unresolved variable": { 7024 "category": "Message", 7025 "code": 95081 7026 }, 7027 "Add 'const' to all unresolved variables": { 7028 "category": "Message", 7029 "code": 95082 7030 }, 7031 "Add 'await'": { 7032 "category": "Message", 7033 "code": 95083 7034 }, 7035 "Add 'await' to initializer for '{0}'": { 7036 "category": "Message", 7037 "code": 95084 7038 }, 7039 "Fix all expressions possibly missing 'await'": { 7040 "category": "Message", 7041 "code": 95085 7042 }, 7043 "Remove unnecessary 'await'": { 7044 "category": "Message", 7045 "code": 95086 7046 }, 7047 "Remove all unnecessary uses of 'await'": { 7048 "category": "Message", 7049 "code": 95087 7050 }, 7051 "Enable the '--jsx' flag in your configuration file": { 7052 "category": "Message", 7053 "code": 95088 7054 }, 7055 "Add 'await' to initializers": { 7056 "category": "Message", 7057 "code": 95089 7058 }, 7059 "Extract to interface": { 7060 "category": "Message", 7061 "code": 95090 7062 }, 7063 "Convert to a bigint numeric literal": { 7064 "category": "Message", 7065 "code": 95091 7066 }, 7067 "Convert all to bigint numeric literals": { 7068 "category": "Message", 7069 "code": 95092 7070 }, 7071 "Convert 'const' to 'let'": { 7072 "category": "Message", 7073 "code": 95093 7074 }, 7075 "Prefix with 'declare'": { 7076 "category": "Message", 7077 "code": 95094 7078 }, 7079 "Prefix all incorrect property declarations with 'declare'": { 7080 "category": "Message", 7081 "code": 95095 7082 }, 7083 "Convert to template string": { 7084 "category": "Message", 7085 "code": 95096 7086 }, 7087 "Add 'export {}' to make this file into a module": { 7088 "category": "Message", 7089 "code": 95097 7090 }, 7091 "Set the 'target' option in your configuration file to '{0}'": { 7092 "category": "Message", 7093 "code": 95098 7094 }, 7095 "Set the 'module' option in your configuration file to '{0}'": { 7096 "category": "Message", 7097 "code": 95099 7098 }, 7099 "Convert invalid character to its html entity code": { 7100 "category": "Message", 7101 "code": 95100 7102 }, 7103 "Convert all invalid characters to HTML entity code": { 7104 "category": "Message", 7105 "code": 95101 7106 }, 7107 "Convert all 'const' to 'let'": { 7108 "category": "Message", 7109 "code": 95102 7110 }, 7111 "Convert function expression '{0}' to arrow function": { 7112 "category": "Message", 7113 "code": 95105 7114 }, 7115 "Convert function declaration '{0}' to arrow function": { 7116 "category": "Message", 7117 "code": 95106 7118 }, 7119 "Fix all implicit-'this' errors": { 7120 "category": "Message", 7121 "code": 95107 7122 }, 7123 "Wrap invalid character in an expression container": { 7124 "category": "Message", 7125 "code": 95108 7126 }, 7127 "Wrap all invalid characters in an expression container": { 7128 "category": "Message", 7129 "code": 95109 7130 }, 7131 "Visit https://aka.ms/tsconfig to read more about this file": { 7132 "category": "Message", 7133 "code": 95110 7134 }, 7135 "Add a return statement": { 7136 "category": "Message", 7137 "code": 95111 7138 }, 7139 "Remove braces from arrow function body": { 7140 "category": "Message", 7141 "code": 95112 7142 }, 7143 "Wrap the following body with parentheses which should be an object literal": { 7144 "category": "Message", 7145 "code": 95113 7146 }, 7147 "Add all missing return statement": { 7148 "category": "Message", 7149 "code": 95114 7150 }, 7151 "Remove braces from all arrow function bodies with relevant issues": { 7152 "category": "Message", 7153 "code": 95115 7154 }, 7155 "Wrap all object literal with parentheses": { 7156 "category": "Message", 7157 "code": 95116 7158 }, 7159 "Move labeled tuple element modifiers to labels": { 7160 "category": "Message", 7161 "code": 95117 7162 }, 7163 "Convert overload list to single signature": { 7164 "category": "Message", 7165 "code": 95118 7166 }, 7167 "Generate 'get' and 'set' accessors for all overriding properties": { 7168 "category": "Message", 7169 "code": 95119 7170 }, 7171 "Wrap in JSX fragment": { 7172 "category": "Message", 7173 "code": 95120 7174 }, 7175 "Wrap all unparented JSX in JSX fragment": { 7176 "category": "Message", 7177 "code": 95121 7178 }, 7179 "Convert arrow function or function expression": { 7180 "category": "Message", 7181 "code": 95122 7182 }, 7183 "Convert to anonymous function": { 7184 "category": "Message", 7185 "code": 95123 7186 }, 7187 "Convert to named function": { 7188 "category": "Message", 7189 "code": 95124 7190 }, 7191 "Convert to arrow function": { 7192 "category": "Message", 7193 "code": 95125 7194 }, 7195 "Remove parentheses": { 7196 "category": "Message", 7197 "code": 95126 7198 }, 7199 "Could not find a containing arrow function": { 7200 "category": "Message", 7201 "code": 95127 7202 }, 7203 "Containing function is not an arrow function": { 7204 "category": "Message", 7205 "code": 95128 7206 }, 7207 "Could not find export statement": { 7208 "category": "Message", 7209 "code": 95129 7210 }, 7211 "This file already has a default export": { 7212 "category": "Message", 7213 "code": 95130 7214 }, 7215 "Could not find import clause": { 7216 "category": "Message", 7217 "code": 95131 7218 }, 7219 "Could not find namespace import or named imports": { 7220 "category": "Message", 7221 "code": 95132 7222 }, 7223 "Selection is not a valid type node": { 7224 "category": "Message", 7225 "code": 95133 7226 }, 7227 "No type could be extracted from this type node": { 7228 "category": "Message", 7229 "code": 95134 7230 }, 7231 "Could not find property for which to generate accessor": { 7232 "category": "Message", 7233 "code": 95135 7234 }, 7235 "Name is not valid": { 7236 "category": "Message", 7237 "code": 95136 7238 }, 7239 "Can only convert property with modifier": { 7240 "category": "Message", 7241 "code": 95137 7242 }, 7243 "Switch each misused '{0}' to '{1}'": { 7244 "category": "Message", 7245 "code": 95138 7246 }, 7247 "Convert to optional chain expression": { 7248 "category": "Message", 7249 "code": 95139 7250 }, 7251 "Could not find convertible access expression": { 7252 "category": "Message", 7253 "code": 95140 7254 }, 7255 "Could not find matching access expressions": { 7256 "category": "Message", 7257 "code": 95141 7258 }, 7259 "Can only convert logical AND access chains": { 7260 "category": "Message", 7261 "code": 95142 7262 }, 7263 "Add 'void' to Promise resolved without a value": { 7264 "category": "Message", 7265 "code": 95143 7266 }, 7267 "Add 'void' to all Promises resolved without a value": { 7268 "category": "Message", 7269 "code": 95144 7270 }, 7271 "Use element access for '{0}'": { 7272 "category": "Message", 7273 "code": 95145 7274 }, 7275 "Use element access for all undeclared properties.": { 7276 "category": "Message", 7277 "code": 95146 7278 }, 7279 "Delete all unused imports": { 7280 "category": "Message", 7281 "code": 95147 7282 }, 7283 "Infer function return type": { 7284 "category": "Message", 7285 "code": 95148 7286 }, 7287 "Return type must be inferred from a function": { 7288 "category": "Message", 7289 "code": 95149 7290 }, 7291 "Could not determine function return type": { 7292 "category": "Message", 7293 "code": 95150 7294 }, 7295 "Could not convert to arrow function": { 7296 "category": "Message", 7297 "code": 95151 7298 }, 7299 "Could not convert to named function": { 7300 "category": "Message", 7301 "code": 95152 7302 }, 7303 "Could not convert to anonymous function": { 7304 "category": "Message", 7305 "code": 95153 7306 }, 7307 "Can only convert string concatenation": { 7308 "category": "Message", 7309 "code": 95154 7310 }, 7311 "Selection is not a valid statement or statements": { 7312 "category": "Message", 7313 "code": 95155 7314 }, 7315 "Add missing function declaration '{0}'": { 7316 "category": "Message", 7317 "code": 95156 7318 }, 7319 "Add all missing function declarations": { 7320 "category": "Message", 7321 "code": 95157 7322 }, 7323 "Method not implemented.": { 7324 "category": "Message", 7325 "code": 95158 7326 }, 7327 "Function not implemented.": { 7328 "category": "Message", 7329 "code": 95159 7330 }, 7331 "Add 'override' modifier": { 7332 "category": "Message", 7333 "code": 95160 7334 }, 7335 "Remove 'override' modifier": { 7336 "category": "Message", 7337 "code": 95161 7338 }, 7339 "Add all missing 'override' modifiers": { 7340 "category": "Message", 7341 "code": 95162 7342 }, 7343 "Remove all unnecessary 'override' modifiers": { 7344 "category": "Message", 7345 "code": 95163 7346 }, 7347 "Can only convert named export": { 7348 "category": "Message", 7349 "code": 95164 7350 }, 7351 "Add missing properties": { 7352 "category": "Message", 7353 "code": 95165 7354 }, 7355 "Add all missing properties": { 7356 "category": "Message", 7357 "code": 95166 7358 }, 7359 "Add missing attributes": { 7360 "category": "Message", 7361 "code": 95167 7362 }, 7363 "Add all missing attributes": { 7364 "category": "Message", 7365 "code": 95168 7366 }, 7367 "Add 'undefined' to optional property type": { 7368 "category": "Message", 7369 "code": 95169 7370 }, 7371 "Convert named imports to default import": { 7372 "category": "Message", 7373 "code": 95170 7374 }, 7375 "Delete unused '@param' tag '{0}'": { 7376 "category": "Message", 7377 "code": 95171 7378 }, 7379 "Delete all unused '@param' tags": { 7380 "category": "Message", 7381 "code": 95172 7382 }, 7383 "Rename '@param' tag name '{0}' to '{1}'": { 7384 "category": "Message", 7385 "code": 95173 7386 }, 7387 "Use `{0}`.": { 7388 "category": "Message", 7389 "code": 95174 7390 }, 7391 "Use `Number.isNaN` in all conditions.": { 7392 "category": "Message", 7393 "code": 95175 7394 }, 7395 7396 "No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.": { 7397 "category": "Error", 7398 "code": 18004 7399 }, 7400 "Classes may not have a field named 'constructor'.": { 7401 "category": "Error", 7402 "code": 18006 7403 }, 7404 "JSX expressions may not use the comma operator. Did you mean to write an array?": { 7405 "category": "Error", 7406 "code": 18007 7407 }, 7408 "Private identifiers cannot be used as parameters.": { 7409 "category": "Error", 7410 "code": 18009 7411 }, 7412 "An accessibility modifier cannot be used with a private identifier.": { 7413 "category": "Error", 7414 "code": 18010 7415 }, 7416 "The operand of a 'delete' operator cannot be a private identifier.": { 7417 "category": "Error", 7418 "code": 18011 7419 }, 7420 "'#constructor' is a reserved word.": { 7421 "category": "Error", 7422 "code": 18012 7423 }, 7424 "Property '{0}' is not accessible outside class '{1}' because it has a private identifier.": { 7425 "category": "Error", 7426 "code": 18013 7427 }, 7428 "The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling.": { 7429 "category": "Error", 7430 "code": 18014 7431 }, 7432 "Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'.": { 7433 "category": "Error", 7434 "code": 18015 7435 }, 7436 "Private identifiers are not allowed outside class bodies.": { 7437 "category": "Error", 7438 "code": 18016 7439 }, 7440 "The shadowing declaration of '{0}' is defined here": { 7441 "category": "Error", 7442 "code": 18017 7443 }, 7444 "The declaration of '{0}' that you probably intended to use is defined here": { 7445 "category": "Error", 7446 "code": 18018 7447 }, 7448 "'{0}' modifier cannot be used with a private identifier.": { 7449 "category": "Error", 7450 "code": 18019 7451 }, 7452 "An enum member cannot be named with a private identifier.": { 7453 "category": "Error", 7454 "code": 18024 7455 }, 7456 "'#!' can only be used at the start of a file.": { 7457 "category": "Error", 7458 "code": 18026 7459 }, 7460 "Compiler reserves name '{0}' when emitting private identifier downlevel.": { 7461 "category": "Error", 7462 "code": 18027 7463 }, 7464 "Private identifiers are only available when targeting ECMAScript 2015 and higher.": { 7465 "category": "Error", 7466 "code": 18028 7467 }, 7468 "Private identifiers are not allowed in variable declarations.": { 7469 "category": "Error", 7470 "code": 18029 7471 }, 7472 "An optional chain cannot contain private identifiers.": { 7473 "category": "Error", 7474 "code": 18030 7475 }, 7476 "The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents.": { 7477 "category": "Error", 7478 "code": 18031 7479 }, 7480 "The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some.": { 7481 "category": "Error", 7482 "code": 18032 7483 }, 7484 "Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead.": { 7485 "category": "Error", 7486 "code": 18033 7487 }, 7488 "Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'.": { 7489 "category": "Message", 7490 "code": 18034 7491 }, 7492 "Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.": { 7493 "category": "Error", 7494 "code": 18035 7495 }, 7496 "Class decorators can't be used with static private identifier. Consider removing the experimental decorator.": { 7497 "category": "Error", 7498 "code": 18036 7499 }, 7500 "Await expression cannot be used inside a class static block.": { 7501 "category": "Error", 7502 "code": 18037 7503 }, 7504 "'For await' loops cannot be used inside a class static block.": { 7505 "category": "Error", 7506 "code": 18038 7507 }, 7508 "Invalid use of '{0}'. It cannot be used inside a class static block.": { 7509 "category": "Error", 7510 "code": 18039 7511 }, 7512 "A 'return' statement cannot be used inside a class static block.": { 7513 "category": "Error", 7514 "code": 18041 7515 }, 7516 "'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation.": { 7517 "category": "Error", 7518 "code": 18042 7519 }, 7520 "Types cannot appear in export declarations in JavaScript files.": { 7521 "category": "Error", 7522 "code": 18043 7523 }, 7524 "'{0}' is automatically exported here.": { 7525 "category": "Message", 7526 "code": 18044 7527 }, 7528 "Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher.": { 7529 "category": "Error", 7530 "code": 18045 7531 }, 7532 "'{0}' is of type 'unknown'.": { 7533 "category": "Error", 7534 "code": 18046 7535 }, 7536 "'{0}' is possibly 'null'.": { 7537 "category": "Error", 7538 "code": 18047 7539 }, 7540 "'{0}' is possibly 'undefined'.": { 7541 "category": "Error", 7542 "code": 18048 7543 }, 7544 "'{0}' is possibly 'null' or 'undefined'.": { 7545 "category": "Error", 7546 "code": 18049 7547 }, 7548 "The value '{0}' cannot be used here.": { 7549 "category": "Error", 7550 "code": 18050 7551 }, 7552 "Should not add return type to the function that is annotated by Extend.": { 7553 "category": "Error", 7554 "code": 28000 7555 }, 7556 "Decorator name must be one of ETS Components": { 7557 "category":"Error", 7558 "code": 28001 7559 }, 7560 "A struct declaration without the 'default' modifier must have a name.": { 7561 "category": "Error", 7562 "code": 28002 7563 }, 7564 "Should not add return type to the function that is annotated by Styles.": { 7565 "category": "Error", 7566 "code": 28003 7567 }, 7568 "Unable to resolve signature of function decorator when decorators are not valid.": { 7569 "category": "Error", 7570 "code": 28004 7571 }, 7572 "The statement must be written use the function '{0}' under the if condition.": { 7573 "category": "Warning", 7574 "code": 28005 7575 }, 7576 "The struct name cannot contain reserved tag name: '{0}'.": { 7577 "category": "Error", 7578 "code": 28006 7579 }, 7580 "This API has been Special Markings. exercise caution when using this API.": { 7581 "category": "Warning", 7582 "code": 28007 7583 }, 7584 "Looking up in 'oh_modules' folder, initial location '{0}'.": { 7585 "category": "Message", 7586 "code": 28008 7587 }, 7588 "Containing file is not specified and root directory cannot be determined, skipping lookup in 'oh_modules' folder.": { 7589 "category": "Message", 7590 "code": 28009 7591 }, 7592 "Loading module '{0}' from 'oh_modules' folder, target file type '{1}'.": { 7593 "category": "Message", 7594 "code": 28010 7595 }, 7596 "Found 'oh-package.json5' at '{0}'.": { 7597 "category": "Message", 7598 "code": 28011 7599 }, 7600 "'oh-package.json5' does not have a '{0}' field.": { 7601 "category": "Message", 7602 "code": 28012 7603 }, 7604 "'oh-package.json5' has '{0}' field '{1}' that references '{2}'.": { 7605 "category": "Message", 7606 "code": 28013 7607 }, 7608 "Currently module for '{0}' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared.": { 7609 "category": "Warning", 7610 "code": 28014 7611 }, 7612 "UI component '{0}' cannot be used in this place.": { 7613 "category": "Error", 7614 "code": 28015 7615 }, 7616 "Importing ArkTS files in JS and TS files is about to be forbidden.": { 7617 "category": "Warning", 7618 "code": 28016 7619 }, 7620 "Importing ArkTS files in JS and TS files is forbidden.": { 7621 "category": "Error", 7622 "code": 28017 7623 } 7624} 7625