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