-
Notifications
You must be signed in to change notification settings - Fork 12.7k
/
Copy pathdiagnosticMessages.json
1607 lines (1602 loc) · 53 KB
/
diagnosticMessages.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"Unterminated string literal.": {
"category": "Error",
"code": 1002
},
"Identifier expected.": {
"category": "Error",
"code": 1003
},
"'{0}' expected.": {
"category": "Error",
"code": 1005
},
"Trailing comma not allowed.": {
"category": "Error",
"code": 1009
},
"'*/' expected.": {
"category": "Error",
"code": 1010
},
"Unexpected token.": {
"category": "Error",
"code": 1012
},
"Catch clause parameter cannot have a type annotation.": {
"category": "Error",
"code": 1013
},
"A rest parameter must be last in a parameter list.": {
"category": "Error",
"code": 1014
},
"Parameter cannot have question mark and initializer.": {
"category": "Error",
"code": 1015
},
"A required parameter cannot follow an optional parameter.": {
"category": "Error",
"code": 1016
},
"An index signature cannot have a rest parameter.": {
"category": "Error",
"code": 1017
},
"An index signature parameter cannot have an accessibility modifier.": {
"category": "Error",
"code": 1018
},
"An index signature parameter cannot have a question mark.": {
"category": "Error",
"code": 1019
},
"An index signature parameter cannot have an initializer.": {
"category": "Error",
"code": 1020
},
"An index signature must have a type annotation.": {
"category": "Error",
"code": 1021
},
"An index signature parameter must have a type annotation.": {
"category": "Error",
"code": 1022
},
"An index signature parameter type must be 'string' or 'number'.": {
"category": "Error",
"code": 1023
},
"A class or interface declaration can only have one 'extends' clause.": {
"category": "Error",
"code": 1024
},
"An 'extends' clause must precede an 'implements' clause.": {
"category": "Error",
"code": 1025
},
"A class can only extend a single class.": {
"category": "Error",
"code": 1026
},
"A class declaration can only have one 'implements' clause.": {
"category": "Error",
"code": 1027
},
"Accessibility modifier already seen.": {
"category": "Error",
"code": 1028
},
"'{0}' modifier must precede '{1}' modifier.": {
"category": "Error",
"code": 1029
},
"'{0}' modifier already seen.": {
"category": "Error",
"code": 1030
},
"'{0}' modifier cannot appear on a class element.": {
"category": "Error",
"code": 1031
},
"An interface declaration cannot have an 'implements' clause.": {
"category": "Error",
"code": 1032
},
"'super' must be followed by an argument list or member access.": {
"category": "Error",
"code": 1034
},
"Only ambient modules can use quoted names.": {
"category": "Error",
"code": 1035
},
"Statements are not allowed in ambient contexts.": {
"category": "Error",
"code": 1036
},
"A function implementation cannot be declared in an ambient context.": {
"category": "Error",
"code": 1037
},
"A 'declare' modifier cannot be used in an already ambient context.": {
"category": "Error",
"code": 1038
},
"Initializers are not allowed in ambient contexts.": {
"category": "Error",
"code": 1039
},
"'{0}' modifier cannot appear on a module element.": {
"category": "Error",
"code": 1044
},
"A 'declare' modifier cannot be used with an interface declaration.": {
"category": "Error",
"code": 1045
},
"A 'declare' modifier is required for a top level declaration in a .d.ts file.": {
"category": "Error",
"code": 1046
},
"A rest parameter cannot be optional.": {
"category": "Error",
"code": 1047
},
"A rest parameter cannot have an initializer.": {
"category": "Error",
"code": 1048
},
"A 'set' accessor must have exactly one parameter.": {
"category": "Error",
"code": 1049
},
"A 'set' accessor cannot have an optional parameter.": {
"category": "Error",
"code": 1051
},
"A 'set' accessor parameter cannot have an initializer.": {
"category": "Error",
"code": 1052
},
"A 'set' accessor cannot have rest parameter.": {
"category": "Error",
"code": 1053
},
"A 'get' accessor cannot have parameters.": {
"category": "Error",
"code": 1054
},
"Accessors are only available when targeting ECMAScript 5 and higher.": {
"category": "Error",
"code": 1056
},
"Enum member must have initializer.": {
"category": "Error",
"code": 1061
},
"An export assignment cannot be used in an internal module.": {
"category": "Error",
"code": 1063
},
"Ambient enum elements can only have integer literal initializers.": {
"category": "Error",
"code": 1066
},
"Unexpected token. A constructor, method, accessor, or property was expected." : {
"category": "Error",
"code": 1068
},
"A 'declare' modifier cannot be used with an import declaration.": {
"category": "Error",
"code": 1079
},
"Invalid 'reference' directive syntax.": {
"category": "Error",
"code": 1084
},
"Octal literals are not available when targeting ECMAScript 5 and higher.": {
"category": "Error",
"code": 1085
},
"An accessor cannot be declared in an ambient context.": {
"category": "Error",
"code": 1086
},
"'{0}' modifier cannot appear on a constructor declaration.": {
"category": "Error",
"code": 1089
},
"'{0}' modifier cannot appear on a parameter.": {
"category": "Error",
"code": 1090
},
"Only a single variable declaration is allowed in a 'for...in' statement.": {
"category": "Error",
"code": 1091
},
"Type parameters cannot appear on a constructor declaration.": {
"category": "Error",
"code": 1092
},
"Type annotation cannot appear on a constructor declaration.": {
"category": "Error",
"code": 1093
},
"An accessor cannot have type parameters.": {
"category": "Error",
"code": 1094
},
"A 'set' accessor cannot have a return type annotation.": {
"category": "Error",
"code": 1095
},
"An index signature must have exactly one parameter.": {
"category": "Error",
"code": 1096
},
"'{0}' list cannot be empty.": {
"category": "Error",
"code": 1097
},
"Type parameter list cannot be empty.": {
"category": "Error",
"code": 1098
},
"Type argument list cannot be empty.": {
"category": "Error",
"code": 1099
},
"Invalid use of '{0}' in strict mode.": {
"category": "Error",
"code": 1100
},
"'with' statements are not allowed in strict mode.": {
"category": "Error",
"code": 1101
},
"'delete' cannot be called on an identifier in strict mode.": {
"category": "Error",
"code": 1102
},
"A 'continue' statement can only be used within an enclosing iteration statement.": {
"category": "Error",
"code": 1104
},
"A 'break' statement can only be used within an enclosing iteration or switch statement.": {
"category": "Error",
"code": 1105
},
"Jump target cannot cross function boundary.": {
"category": "Error",
"code": 1107
},
"A 'return' statement can only be used within a function body.": {
"category": "Error",
"code": 1108
},
"Expression expected.": {
"category": "Error",
"code": 1109
},
"Type expected.": {
"category": "Error",
"code": 1110
},
"A constructor implementation cannot be declared in an ambient context.": {
"category": "Error",
"code": 1111
},
"A class member cannot be declared optional.": {
"category": "Error",
"code": 1112
},
"A 'default' clause cannot appear more than once in a 'switch' statement.": {
"category": "Error",
"code": 1113
},
"Duplicate label '{0}'": {
"category": "Error",
"code": 1114
},
"A 'continue' statement can only jump to a label of an enclosing iteration statement.": {
"category": "Error",
"code": 1115
},
"A 'break' statement can only jump to a label of an enclosing statement.": {
"category": "Error",
"code": 1116
},
"An object literal cannot have multiple properties with the same name in strict mode.": {
"category": "Error",
"code": 1117
},
"An object literal cannot have multiple get/set accessors with the same name.": {
"category": "Error",
"code": 1118
},
"An object literal cannot have property and accessor with the same name.": {
"category": "Error",
"code": 1119
},
"An export assignment cannot have modifiers.": {
"category": "Error",
"code": 1120
},
"Octal literals are not allowed in strict mode.": {
"category": "Error",
"code": 1121
},
"A tuple type element list cannot be empty.": {
"category": "Error",
"code": 1122
},
"Variable declaration list cannot be empty.": {
"category": "Error",
"code": 1123
},
"Digit expected.": {
"category": "Error",
"code": 1124
},
"Hexadecimal digit expected.": {
"category": "Error",
"code": 1125
},
"Unexpected end of text.": {
"category": "Error",
"code": 1126
},
"Invalid character.": {
"category": "Error",
"code": 1127
},
"Declaration or statement expected.": {
"category": "Error",
"code": 1128
},
"Statement expected.": {
"category": "Error",
"code": 1129
},
"'case' or 'default' expected.": {
"category": "Error",
"code": 1130
},
"Property or signature expected.": {
"category": "Error",
"code": 1131
},
"Enum member expected.": {
"category": "Error",
"code": 1132
},
"Type reference expected.": {
"category": "Error",
"code": 1133
},
"Variable declaration expected.": {
"category": "Error",
"code": 1134
},
"Argument expression expected.": {
"category": "Error",
"code": 1135
},
"Property assignment expected.": {
"category": "Error",
"code": 1136
},
"Expression or comma expected.": {
"category": "Error",
"code": 1137
},
"Parameter declaration expected.": {
"category": "Error",
"code": 1138
},
"Type parameter declaration expected.": {
"category": "Error",
"code": 1139
},
"Type argument expected.": {
"category": "Error",
"code": 1140
},
"String literal expected.": {
"category": "Error",
"code": 1141
},
"Line break not permitted here.": {
"category": "Error",
"code": 1142
},
"'catch' or 'finally' expected.": {
"category": "Error",
"code": 1143
},
"Block or ';' expected.": {
"category": "Error",
"code": 1144
},
"Modifiers not permitted on index signature members.": {
"category": "Error",
"code": 1145
},
"Declaration expected.": {
"category": "Error",
"code": 1146
},
"Import declarations in an internal module cannot reference an external module.": {
"category": "Error",
"code": 1147
},
"Cannot compile external modules unless the '--module' flag is provided.": {
"category": "Error",
"code": 1148
},
"Filename '{0}' differs from already included filename '{1}' only in casing": {
"category": "Error",
"code": 1149
},
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": {
"category": "Error",
"code": 1150
},
"Duplicate identifier '{0}'.": {
"category": "Error",
"code": 2300
},
"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.": {
"category": "Error",
"code": 2301
},
"Static members cannot reference class type parameters.": {
"category": "Error",
"code": 2302
},
"Circular definition of import alias '{0}'.": {
"category": "Error",
"code": 2303
},
"Cannot find name '{0}'.": {
"category": "Error",
"code": 2304
},
"Module '{0}' has no exported member '{1}'.": {
"category": "Error",
"code": 2305
},
"File '{0}' is not an external module.": {
"category": "Error",
"code": 2306
},
"Cannot find external module '{0}'.": {
"category": "Error",
"code": 2307
},
"A module cannot have more than one export assignment.": {
"category": "Error",
"code": 2308
},
"An export assignment cannot be used in a module with other exported elements.": {
"category": "Error",
"code": 2309
},
"Type '{0}' recursively references itself as a base type.": {
"category": "Error",
"code": 2310
},
"A class may only extend another class.": {
"category": "Error",
"code": 2311
},
"An interface may only extend a class or another interface.": {
"category": "Error",
"code": 2312
},
"Constraint of a type parameter cannot reference any type parameter from the same type parameter list.": {
"category": "Error",
"code": 2313
},
"Generic type '{0}' requires {1} type argument(s).": {
"category": "Error",
"code": 2314
},
"Type '{0}' is not generic.": {
"category": "Error",
"code": 2315
},
"Global type '{0}' must be a class or interface type.": {
"category": "Error",
"code": 2316
},
"Global type '{0}' must have {1} type parameter(s).": {
"category": "Error",
"code": 2317
},
"Cannot find global type '{0}'.": {
"category": "Error",
"code": 2318
},
"Named properties '{0}' of types '{1}' and '{2}' are not identical.": {
"category": "Error",
"code": 2319
},
"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}':": {
"category": "Error",
"code": 2320
},
"Excessive stack depth comparing types '{0}' and '{1}'.": {
"category": "Error",
"code": 2321
},
"Type '{0}' is not assignable to type '{1}':": {
"category": "Error",
"code": 2322
},
"Type '{0}' is not assignable to type '{1}'.": {
"category": "Error",
"code": 2323
},
"Property '{0}' is missing in type '{1}'.": {
"category": "Error",
"code": 2324
},
"Property '{0}' is private in type '{1}' but not in type '{2}'.": {
"category": "Error",
"code": 2325
},
"Types of property '{0}' are incompatible:": {
"category": "Error",
"code": 2326
},
"Property '{0}' is optional in type '{1}' but required in type '{2}'.": {
"category": "Error",
"code": 2327
},
"Types of parameters '{0}' and '{1}' are incompatible:": {
"category": "Error",
"code": 2328
},
"Index signature is missing in type '{0}'.": {
"category": "Error",
"code": 2329
},
"Index signatures are incompatible:": {
"category": "Error",
"code": 2330
},
"'this' cannot be referenced in a module body.": {
"category": "Error",
"code": 2331
},
"'this' cannot be referenced in current location.": {
"category": "Error",
"code": 2332
},
"'this' cannot be referenced in constructor arguments.": {
"category": "Error",
"code": 2333
},
"'this' cannot be referenced in a static property initializer.": {
"category": "Error",
"code": 2334
},
"'super' can only be referenced in a derived class.": {
"category": "Error",
"code": 2335
},
"'super' cannot be referenced in constructor arguments.": {
"category": "Error",
"code": 2336
},
"Super calls are not permitted outside constructors or in nested functions inside constructors": {
"category": "Error",
"code": 2337
},
"'super' property access is permitted only in a constructor, member function, or member accessor of a derived class": {
"category": "Error",
"code": 2338
},
"Property '{0}' does not exist on type '{1}'.": {
"category": "Error",
"code": 2339
},
"Only public and protected methods of the base class are accessible via the 'super' keyword": {
"category": "Error",
"code": 2340
},
"Property '{0}' is private and only accessible within class '{1}'.": {
"category": "Error",
"code": 2341
},
"An index expression argument must be of type 'string', 'number', or 'any'.": {
"category": "Error",
"code": 2342
},
"Type '{0}' does not satisfy the constraint '{1}':": {
"category": "Error",
"code": 2343
},
"Type '{0}' does not satisfy the constraint '{1}'.": {
"category": "Error",
"code": 2344
},
"Argument of type '{0}' is not assignable to parameter of type '{1}'.": {
"category": "Error",
"code": 2345
},
"Supplied parameters do not match any signature of call target.": {
"category": "Error",
"code": 2346
},
"Untyped function calls may not accept type arguments.": {
"category": "Error",
"code": 2347
},
"Value of type '{0}' is not callable. Did you mean to include 'new'?": {
"category": "Error",
"code": 2348
},
"Cannot invoke an expression whose type lacks a call signature.": {
"category": "Error",
"code": 2349
},
"Only a void function can be called with the 'new' keyword.": {
"category": "Error",
"code": 2350
},
"Cannot use 'new' with an expression whose type lacks a call or construct signature.": {
"category": "Error",
"code": 2351
},
"Neither type '{0}' nor type '{1}' is assignable to the other.": {
"category": "Error",
"code": 2352
},
"Neither type '{0}' nor type '{1}' is assignable to the other:": {
"category": "Error",
"code": 2353
},
"No best common type exists among return expressions.": {
"category": "Error",
"code": 2354
},
"A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.": {
"category": "Error",
"code": 2355
},
"An arithmetic operand must be of type 'any', 'number' or an enum type.": {
"category": "Error",
"code": 2356
},
"The operand of an increment or decrement operator must be a variable, property or indexer.": {
"category": "Error",
"code": 2357
},
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": {
"category": "Error",
"code": 2358
},
"The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.": {
"category": "Error",
"code": 2359
},
"The left-hand side of an 'in' expression must be of types 'any', 'string' or 'number'.": {
"category": "Error",
"code": 2360
},
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter": {
"category": "Error",
"code": 2361
},
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": {
"category": "Error",
"code": 2362
},
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": {
"category": "Error",
"code": 2363
},
"Invalid left-hand side of assignment expression.": {
"category": "Error",
"code": 2364
},
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": {
"category": "Error",
"code": 2365
},
"No best common type exists between '{0}', '{1}', and '{2}'.": {
"category": "Error",
"code": 2366
},
"No best common type exists between '{0}' and '{1}'.": {
"category": "Error",
"code": 2367
},
"Type parameter name cannot be '{0}'": {
"category": "Error",
"code": 2368
},
"A parameter property is only allowed in a constructor implementation.": {
"category": "Error",
"code": 2369
},
"A rest parameter must be of an array type.": {
"category": "Error",
"code": 2370
},
"A parameter initializer is only allowed in a function or constructor implementation.": {
"category": "Error",
"code": 2371
},
"Parameter '{0}' cannot be referenced in its initializer.": {
"category": "Error",
"code": 2372
},
"Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it.": {
"category": "Error",
"code": 2373
},
"Duplicate string index signature.": {
"category": "Error",
"code": 2374
},
"Duplicate number index signature.": {
"category": "Error",
"code": 2375
},
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": {
"category": "Error",
"code": 2376
},
"Constructors for derived classes must contain a 'super' call.": {
"category": "Error",
"code": 2377
},
"A 'get' accessor must return a value or consist of a single 'throw' statement.": {
"category": "Error",
"code": 2378
},
"Getter and setter accessors do not agree in visibility.": {
"category": "Error",
"code": 2379
},
"'get' and 'set' accessor must have the same type.": {
"category": "Error",
"code": 2380
},
"A signature with an implementation cannot use a string literal type.": {
"category": "Error",
"code": 2381
},
"Specialized overload signature is not assignable to any non-specialized signature.": {
"category": "Error",
"code": 2382
},
"Overload signatures must all be exported or not exported.": {
"category": "Error",
"code": 2383
},
"Overload signatures must all be ambient or non-ambient.": {
"category": "Error",
"code": 2384
},
"Overload signatures must all be public, private or protected.": {
"category": "Error",
"code": 2385
},
"Overload signatures must all be optional or required.": {
"category": "Error",
"code": 2386
},
"Function overload must be static.": {
"category": "Error",
"code": 2387
},
"Function overload must not be static.": {
"category": "Error",
"code": 2388
},
"Function implementation name must be '{0}'.": {
"category": "Error",
"code": 2389
},
"Constructor implementation is missing.": {
"category": "Error",
"code": 2390
},
"Function implementation is missing or not immediately following the declaration.": {
"category": "Error",
"code": 2391
},
"Multiple constructor implementations are not allowed.": {
"category": "Error",
"code": 2392
},
"Duplicate function implementation.": {
"category": "Error",
"code": 2393
},
"Overload signature is not compatible with function implementation.": {
"category": "Error",
"code": 2394
},
"Individual declarations in merged declaration {0} must be all exported or all local.": {
"category": "Error",
"code": 2395
},
"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.": {
"category": "Error",
"code": 2396
},
"Duplicate identifier '_i'. Compiler uses '_i' to initialize rest parameter.": {
"category": "Error",
"code": 2397
},
"Expression resolves to variable declaration '_i' that compiler uses to initialize rest parameter.": {
"category": "Error",
"code": 2398
},
"Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.": {
"category": "Error",
"code": 2399
},
"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.": {
"category": "Error",
"code": 2400
},
"Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference.": {
"category": "Error",
"code": 2401
},
"Expression resolves to '_super' that compiler uses to capture base class reference.": {
"category": "Error",
"code": 2402
},
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": {
"category": "Error",
"code": 2403
},
"The left-hand side of a 'for...in' statement cannot use a type annotation.": {
"category": "Error",
"code": 2404
},
"The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.": {
"category": "Error",
"code": 2405
},
"Invalid left-hand side in 'for...in' statement.": {
"category": "Error",
"code": 2406
},
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": {
"category": "Error",
"code": 2407
},
"Setters cannot return a value.": {
"category": "Error",
"code": 2408
},
"Return type of constructor signature must be assignable to the instance type of the class": {
"category": "Error",
"code": 2409
},
"All symbols within a 'with' block will be resolved to 'any'.": {
"category": "Error",
"code": 2410
},
"Property '{0}' of type '{1}' is not assignable to string index type '{2}'.": {
"category": "Error",
"code": 2411
},
"Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'.": {
"category": "Error",
"code": 2412
},
"Numeric index type '{0}' is not assignable to string index type '{1}'.": {
"category": "Error",
"code": 2413
},
"Class name cannot be '{0}'": {
"category": "Error",
"code": 2414
},
"Class '{0}' incorrectly extends base class '{1}'.": {
"category": "Error",
"code": 2415
},
"Class '{0}' incorrectly extends base class '{1}':": {
"category": "Error",
"code": 2416
},
"Class static side '{0}' incorrectly extends base class static side '{1}'.": {
"category": "Error",
"code": 2417
},
"Class static side '{0}' incorrectly extends base class static side '{1}':": {
"category": "Error",
"code": 2418
},
"Type name '{0}' in extends clause does not reference constructor function for '{0}'.": {
"category": "Error",
"code": 2419
},
"Class '{0}' incorrectly implements interface '{1}'.": {
"category": "Error",
"code": 2420
},
"Class '{0}' incorrectly implements interface '{1}':": {
"category": "Error",
"code": 2421
},
"A class may only implement another class or interface.": {
"category": "Error",
"code": 2422
},
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": {
"category": "Error",
"code": 2423
},
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": {
"category": "Error",
"code": 2424
},
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": {
"category": "Error",
"code": 2425
},
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": {
"category": "Error",
"code": 2426
},
"Interface name cannot be '{0}'": {
"category": "Error",
"code": 2427
},
"All declarations of an interface must have identical type parameters.": {
"category": "Error",
"code": 2428
},
"Interface '{0}' incorrectly extends interface '{1}':": {
"category": "Error",
"code": 2429
},
"Interface '{0}' incorrectly extends interface '{1}'.": {
"category": "Error",
"code": 2430
},
"Enum name cannot be '{0}'": {
"category": "Error",
"code": 2431
},
"In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.": {
"category": "Error",
"code": 2432
},
"A module declaration cannot be in a different file from a class or function with which it is merged": {
"category": "Error",
"code": 2433
},
"A module declaration cannot be located prior to a class or function with which it is merged": {
"category": "Error",
"code": 2434
},
"Ambient external modules cannot be nested in other modules.": {
"category": "Error",
"code": 2435
},
"Ambient external module declaration cannot specify relative module name.": {
"category": "Error",
"code": 2436
},
"Module '{0}' is hidden by a local declaration with the same name": {
"category": "Error",
"code": 2437
},
"Import name cannot be '{0}'": {
"category": "Error",