-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagnostic-code-map.json
More file actions
629 lines (629 loc) · 25.3 KB
/
Copy pathdiagnostic-code-map.json
File metadata and controls
629 lines (629 loc) · 25.3 KB
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
{
"schemaVersion": 1,
"entries": [
{
"bamtsCode": "BAMTS-C001",
"evidence": "Block-scoped redeclaration -> TS2451 via tsc --noEmit on \"let x = 1; let x = 2;\".",
"status": "mapped",
"tsCode": 2451
},
{
"bamtsCode": "BAMTS-C002",
"evidence": "Unresolved value reference -> TS2304 via tsc --noEmit on \"y = 1;\".",
"status": "mapped",
"tsCode": 2304
},
{
"bamtsCode": "BAMTS-C003",
"evidence": "Unresolved type reference -> TS2304 via tsc --noEmit on \"let x: Foo;\" (type positions share TS2304 with value positions).",
"status": "mapped",
"tsCode": 2304
},
{
"bamtsCode": "BAMTS-C004",
"evidence": "Initializer not assignable to its annotation -> TS2322 via tsc --noEmit on \"const n: number = \\\"oops\\\";\".",
"status": "mapped",
"tsCode": 2322
},
{
"bamtsCode": "BAMTS-C005",
"evidence": "Enum member name that is not an identifier, string literal, or numeric literal -> TS1164 via tsc --noEmit on \"const k = \\\"a\\\"; enum E { [k] = 1 }\".",
"status": "mapped",
"tsCode": 1164
},
{
"bamtsCode": "BAMTS-C006",
"evidence": "Enum member without initializer after a non-numeric member -> TS1061 via tsc --noEmit on \"enum E { A = \\\"x\\\", B }\".",
"status": "mapped",
"tsCode": 1061
},
{
"bamtsCode": "BAMTS-C007",
"evidence": "Const enum member with a non-constant initializer -> TS2474 via tsc --noEmit on \"const enum E { A = f() }\"; ambient enum declarations report the same condition as TS1066.",
"status": "mapped",
"tsCode": 2474
},
{
"bamtsCode": "BAMTS-C008",
"evidence": "Const enum member initializer evaluating to NaN or Infinity -> TS2477 via tsc --noEmit on \"const enum E { A = 1/0 }\".",
"status": "mapped",
"tsCode": 2477
},
{
"bamtsCode": "BAMTS-C009",
"evidence": "Enum member initializer referencing itself through a later member -> TS2651 via tsc --noEmit on \"enum E { A = B, B = A }\"; a direct self-reference surfaces as TS2565.",
"status": "mapped",
"tsCode": 2651
},
{
"bamtsCode": "BAMTS-C010",
"evidence": "Merged enum declarations disagreeing on constness -> TS2567 via tsc --noEmit on \"const enum E { A = 1 } enum E { B = 2 }\" (either declaration order).",
"status": "mapped",
"tsCode": 2567
},
{
"bamtsCode": "BAMTS-C011",
"evidence": "Two declarations of a merged enum both omitting the first member initializer -> TS2432 via tsc --noEmit on \"enum E { A } enum E { B }\".",
"status": "mapped",
"tsCode": 2432
},
{
"bamtsCode": "BAMTS-C012",
"evidence": "Imported const-enum member that cannot be resolved -> TS2339 via tsc --noEmit on \"import { E } from \\\"./a\\\"; const x = E.Missing;\" with a.ts exporting const enum E.",
"status": "mapped",
"tsCode": 2339
},
{
"bamtsCode": "BAMTS-C013",
"evidence": "Qualified type name whose left side is not a namespace -> TS2503 via tsc --noEmit on \"let x: A.B;\".",
"status": "mapped",
"tsCode": 2503
},
{
"bamtsCode": "BAMTS-C014",
"evidence": "Cyclic const-enum re-export chain -> TS2303 via tsc --noEmit on a.ts and b.ts re-exporting E from each other, imported by main.ts.",
"status": "mapped",
"tsCode": 2303
},
{
"bamtsCode": "BAMTS-C015",
"evidence": "Imported const-enum member whose initializer is not constant -> TS2474 via tsc --noEmit on \"export const enum E { A = f() }\" imported from main.ts.",
"status": "mapped",
"tsCode": 2474
},
{
"bamtsCode": "BAMTS-C016",
"evidence": "Const-enum export-star lookup with multiple candidates -> TS2308 via tsc --noEmit on \"export * from \\\"./a\\\"; export * from \\\"./b\\\";\" where both export E.",
"status": "mapped",
"tsCode": 2308
},
{
"bamtsCode": "BAMTS-C017",
"evidence": "Export assignment mixed with other exported elements -> TS2309 via tsc --noEmit --module commonjs on \"export = 1; export const x = 2;\" (ESM targets additionally report TS1203).",
"status": "mapped",
"tsCode": 2309
},
{
"bamtsCode": "BAMTS-C018",
"evidence": "Parameter decorator -> TS1206 via tsc --noEmit on \"class A { m(@d x: number) {} }\" in the default decorator mode; the legacy --experimentalDecorators mode accepts parameter decorators.",
"status": "mapped",
"tsCode": 1206
},
{
"bamtsCode": "BAMTS-C019",
"evidence": "Constructor decorator -> TS1206 via tsc --noEmit on \"class A { @d constructor() {} }\" in both default and --experimentalDecorators modes.",
"status": "mapped",
"tsCode": 1206
},
{
"bamtsCode": "BAMTS-C020",
"evidence": "Intrinsic JSX tag absent from JSX.IntrinsicElements -> TS2339 via tsc --noEmit --jsx preserve on \"<bar />\" in a .tsx file where IntrinsicElements declares only foo.",
"status": "mapped",
"tsCode": 2339
},
{
"bamtsCode": "BAMTS-C021",
"evidence": "JSX element type with neither call nor construct signatures -> TS2604 via tsc --noEmit --jsx preserve on \"const X: number = 5; const y = <X />;\" in a .tsx file.",
"status": "mapped",
"tsCode": 2604
},
{
"bamtsCode": "BAMTS-C022",
"evidence": "JSX attributes not assignable to the element's props type -> TS2322 via tsc --noEmit --jsx preserve on \"<foo a=\\\"s\\\" />\" in a .tsx file with props { a: number } (a missing required prop surfaces as TS2741).",
"status": "mapped",
"tsCode": 2322
},
{
"bamtsCode": "BAMTS-C023",
"evidence": "with statement in TypeScript source -> TS1101 via tsc --noEmit on \"with ({}) {}\"; TypeScript 7.0.2 reports TS1101 in strict, module, and non-strict .ts files alike (and TS2410 in every mode).",
"status": "mapped",
"tsCode": 1101
},
{
"bamtsCode": "BAMTS-C024",
"evidence": "Bare super expression not followed by an argument list or member access -> TS1034 via tsc --noEmit on \"let x = super;\" (also on \"super;\", \"(super)()\", and \"super`x`\").",
"status": "mapped",
"tsCode": 1034
},
{
"bamtsCode": "BAMTS-C025",
"evidence": "super call in a class with no base class -> TS2335 via tsc --noEmit on \"class A { constructor() { super(); } }\" and on base-constructor parameter initializers \"class A { constructor(x = super()) {} }\".",
"status": "mapped",
"tsCode": 2335
},
{
"bamtsCode": "BAMTS-C026",
"evidence": "super call outside a constructor or in a function nested inside one -> TS2337 via tsc --noEmit on \"function f() { super(); }\", and likewise at top level, in object-literal methods, class methods, field initializers, and static blocks.",
"status": "mapped",
"tsCode": 2337
},
{
"bamtsCode": "BAMTS-C027",
"evidence": "super call in derived-constructor parameter initializers -> TS2336 via tsc --noEmit on \"class A extends Object { constructor(x = super()) { super(); } }\".",
"status": "mapped",
"tsCode": 2336
},
{
"bamtsCode": "BAMTS-C028",
"evidence": "Class property with no initializer and no constructor assignment -> TS2564 via tsc --noEmit on \"class C { x: number; }\".",
"status": "mapped",
"tsCode": 2564
},
{
"bamtsCode": "BAMTS-C029",
"evidence": "Assignment to a function identifier -> TS2630 via tsc --noEmit on \"function f() {} f = 1;\".",
"status": "mapped",
"tsCode": 2630
},
{
"bamtsCode": "BAMTS-C030",
"evidence": "Assignment to a namespace identifier -> TS2631 via tsc --noEmit on \"namespace N {} N = 1;\".",
"status": "mapped",
"tsCode": 2631
},
{
"bamtsCode": "BAMTS-C031",
"evidence": "Invalid left-hand side in a for-in statement -> TS2406 via tsc --noEmit on \"for (new foo() in b) {}\".",
"status": "mapped",
"tsCode": 2406
},
{
"bamtsCode": "BAMTS-C032",
"evidence": "'using' declaration as the left-hand side of a 'for...in' statement -> TS1493 via tsc --noEmit on \"for (using x in {}) {}\".",
"status": "mapped",
"tsCode": 1493
},
{
"bamtsCode": "BAMTS-C033",
"evidence": "'await using' declaration as the left-hand side of a 'for...in' statement -> TS1494 via tsc --noEmit on \"async function f() { for (await using x in {}) {} }\".",
"status": "mapped",
"tsCode": 1494
},
{
"bamtsCode": "BAMTS-C034",
"evidence": "`using` or `await using` declaration with a binding pattern -> TS1492 via tsc --noEmit on \"for (using {} of []) {}\".",
"status": "mapped",
"tsCode": 1492
},
{
"bamtsCode": "BAMTS-C035",
"evidence": "`using` or `await using` declaration missing an initializer -> TS1155 via tsc --noEmit on \"for (using of;;) break;\".",
"status": "mapped",
"tsCode": 1155
},
{
"bamtsCode": "BAMTS-C036",
"evidence": "Invalid assignment target -> TS2364 via tsc --noEmit on \"new foo() = 1;\".",
"status": "mapped",
"tsCode": 2364
},
{
"bamtsCode": "BAMTS-C037",
"evidence": "Method, call, or construct signature missing return type -> TS7010 via tsc --noEmit on \"interface I { foo(n: string); }\".",
"status": "mapped",
"tsCode": 7010
},
{
"bamtsCode": "BAMTS-C038",
"evidence": "Variable used before being assigned -> TS2454 via tsc --noEmit on \"let x: number; console.log(x);\".",
"status": "mapped",
"tsCode": 2454
},
{
"bamtsCode": "BAMTS-C039",
"evidence": "Function overload signature missing an immediately following implementation -> TS2391 via tsc --noEmit on \"function foo(); 1+1; function foo() {}\".",
"status": "mapped",
"tsCode": 2391
},
{
"bamtsCode": "BAMTS-C040",
"evidence": "Function declaration inside a block in strict mode when targeting ES5 -> TS1250 via tsc --noEmit on \"for(;;) { function f() {} }\".",
"status": "mapped",
"tsCode": 1250
},
{
"bamtsCode": "BAMTS-C041",
"evidence": "Import declaration conflicts with a local declaration -> TS2440 via tsc --noEmit on \"import {f} from \"./f1\"; function f() {}\".",
"status": "mapped",
"tsCode": 2440
},
{
"bamtsCode": "BAMTS-C042",
"evidence": "The left-hand side of an arithmetic operation must be numeric -> TS2362 via tsc --noEmit on \"enum E { a = `1` - `1` }\".",
"status": "mapped",
"tsCode": 2362
},
{
"bamtsCode": "BAMTS-C043",
"evidence": "The right-hand side of an arithmetic operation must be numeric -> TS2363 via tsc --noEmit on \"enum E { a = `1` - `1` }\".",
"status": "mapped",
"tsCode": 2363
},
{
"bamtsCode": "BAMTS-C044",
"evidence": "new.target outside function/constructor body -> TS17013 via tsc --noEmit on \"new.target\".",
"status": "mapped",
"tsCode": 17013
},
{
"bamtsCode": "BAMTS-C045",
"evidence": "A 'set' accessor parameter cannot have an initializer -> TS1052 via tsc --noEmit on \"class C { set foo(x = 1) {} }\".",
"status": "mapped",
"tsCode": 1052
},
{
"bamtsCode": "BAMTS-C046",
"evidence": "An implementation cannot be declared in ambient contexts -> TS1183 via tsc --noEmit on \"declare class C { get foo() {} }\".",
"status": "mapped",
"tsCode": 1183
},
{
"bamtsCode": "BAMTS-C047",
"evidence": "A 'get' accessor cannot have parameters -> TS1054 via tsc --noEmit on \"var v = { get foo(v: number) { } };\".",
"status": "mapped",
"tsCode": 1054
},
{
"bamtsCode": "BAMTS-C048",
"evidence": "A 'get' accessor must return a value -> TS2378 via tsc --noEmit on \"var v = { get foo(v: number) { } };\".",
"status": "mapped",
"tsCode": 2378
},
{
"bamtsCode": "BAMTS-C049",
"evidence": "Function implementation name must match overload signature -> TS2389 via tsc --noEmit on \"class C { foo(); bar() {} }\".",
"status": "mapped",
"tsCode": 2389
},
{
"bamtsCode": "BAMTS-C050",
"evidence": "Type parameters cannot appear on a constructor declaration -> TS1092 via tsc --noEmit on \"class C { constructor<T>() { } }\".",
"status": "mapped",
"tsCode": 1092
},
{
"bamtsCode": "BAMTS-C051",
"evidence": "'export' modifier cannot appear on class elements -> TS1031 via tsc --noEmit on \"class C { export get Foo() { } }\".",
"status": "mapped",
"tsCode": 1031
},
{
"bamtsCode": "BAMTS-C052",
"evidence": "Statements are not allowed in ambient contexts -> TS1036 via tsc --noEmit on a .d.ts file containing 'try { } catch (e) { }'.",
"status": "mapped",
"tsCode": 1036
},
{
"bamtsCode": "BAMTS-C053",
"evidence": "Argument type is not assignable to parameter type -> TS2345 via tsc --noEmit on 'function foo(a: string) {}; foo(2);'.",
"status": "mapped",
"tsCode": 2345
},
{
"bamtsCode": "BAMTS-C054",
"evidence": "Supplied arguments do not match the expected parameter count -> TS2554 via tsc --noEmit on 'function foo(a: string) {}; foo(); foo(\"x\", \"y\");'.",
"status": "mapped",
"tsCode": 2554
},
{
"bamtsCode": "BAMTS-C055",
"evidence": "Expression with no call signatures is invoked -> TS2349 via tsc --noEmit on 'const x = 1; x();'.",
"status": "mapped",
"tsCode": 2349
},
{
"bamtsCode": "BAMTS-C057",
"evidence": "Property does not exist on this type -> TS2339 via tsc --noEmit on 'interface I { a: string; } declare var x: I; x.b;'.",
"status": "mapped",
"tsCode": 2339
},
{
"bamtsCode": "BAMTS-C058",
"evidence": "Accessor declaring a 'this' parameter -> TS2784 via tsc --noEmit on \"var v = { get foo(this: number) { return 1; } };\" (upstream message \"'get' and 'set' accessors cannot declare 'this' parameters.\").",
"status": "mapped",
"tsCode": 2784
},
{
"bamtsCode": "BAMTS-C059",
"evidence": "Expression with no construct signatures is constructed -> TS2351 via tsc --noEmit on \"const x = 1; new x();\" (upstream message \"This expression is not constructable.\").",
"status": "mapped",
"tsCode": 2351
},
{
"bamtsCode": "BAMTS-C066",
"evidence": "Cannot create an instance of an abstract class (direct abstract class, abstract-union constructor selection, and mixed constructor unions) -> TS2511 via tsc --noEmit on the upstream abstractClassUnionInstantiation reference case (new cls1()/new cls2() rows).",
"status": "mapped",
"tsCode": 2511
},
{
"bamtsCode": "BAMTS-C070",
"evidence": "Unused @ts-expect-error directive -> TS2578 via tsc --noEmit when the following statement has no diagnostic.",
"status": "mapped",
"tsCode": 2578
},
{
"bamtsCode": "BAMTS-C071",
"evidence": "Circular type-parameter default -> TS2716 via tsc --noEmit on \"interface SelfReference<T = SelfReference> {}\".",
"status": "mapped",
"tsCode": 2716
},
{
"bamtsCode": "BAMTS-C072",
"evidence": "Circular type alias -> TS2456 via tsc --noEmit on \"type A = A;\".",
"status": "mapped",
"tsCode": 2456
},
{
"bamtsCode": "BAMTS-C080",
"evidence": "Parameter property outside a constructor implementation -> TS2369 via tsc --noEmit on \"var v = (public x: string) => { };\".",
"status": "mapped",
"tsCode": 2369
},
{
"bamtsCode": "BAMTS-C081",
"evidence": "A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value (empty or fall-through body) -> TS2355 via tsc --noEmit on the upstream ParameterList5 reference case (row 1,15).",
"status": "mapped",
"tsCode": 2355
},
{
"bamtsCode": "BAMTS-C086",
"evidence": "The `null` literal or the `undefined` identifier as an operand of an operator that rejects a nullable value -> TS18050 in the TypeScript 7.0.2 authority baselines: operatorAddNullUndefined (16 sites, and exactly the four string-operand lines clean), comparisonOperatorWithOneOperandIsNull (64 sites), inOperatorWithInvalidOperands (4 sites), and bitwiseNotOperatorWithAnyOtherType for the unary form.",
"status": "mapped",
"tsCode": 18050
},
{
"bamtsCode": "BAMTS-C087",
"evidence": "Declaration name conflicts with built-in global identifier -> TS2397 in the TypeScript 7.0.2 authority baselines: globalThisCollision (var globalThis), undefinedTypeAssignment2 (var undefined), undefinedTypeAssignment3 (var undefined), undefinedTypeAssignment4 (namespace undefined), extendGlobalThis2 (namespace globalThis).",
"status": "mapped",
"tsCode": 2397
},
{
"bamtsCode": "BAMTS-C088",
"evidence": "Qualified name references a namespace member that exists in the local scope but is not exported -> TS2694 in the TypeScript 7.0.2 authority baselines: complicatedPrivacy (mglo5.i6 at line 73).",
"status": "mapped",
"tsCode": 2694
},
{
"bamtsCode": "BAMTS-L001",
"evidence": "Unterminated string literal -> TS1002 via tsc --noEmit on \"\\n.",
"status": "mapped",
"tsCode": 1002
},
{
"bamtsCode": "BAMTS-L002",
"evidence": "Unterminated block comment -> TS1010 via tsc --noEmit on /* nope.",
"status": "mapped",
"tsCode": 1010
},
{
"bamtsCode": "BAMTS-L003",
"evidence": "Unterminated template literal -> TS1160 via tsc --noEmit on `open.",
"status": "mapped",
"tsCode": 1160
},
{
"bamtsCode": "BAMTS-L004",
"evidence": "Unterminated regular expression literal -> TS1161 via tsc --noEmit on /open.",
"status": "mapped",
"tsCode": 1161
},
{
"bamtsCode": "BAMTS-L005",
"evidence": "Unexpected / invalid character -> TS1127 via tsc --noEmit on \\u0007a.",
"status": "mapped",
"tsCode": 1127
},
{
"bamtsCode": "BAMTS-L006",
"evidence": "Invalid escape sequence -> TS1488 via tsc --noEmit on \"\\8\".",
"status": "mapped",
"tsCode": 1488
},
{
"bamtsCode": "BAMTS-L007",
"evidence": "Invalid unicode escape -> TS1125 via tsc --noEmit on \"\\u{G}\".",
"status": "mapped",
"tsCode": 1125
},
{
"bamtsCode": "BAMTS-L008",
"evidence": "Multiple consecutive numeric separators -> TS6189 via tsc --noEmit on 1__2.",
"status": "mapped",
"tsCode": 6189
},
{
"bamtsCode": "BAMTS-L009",
"evidence": "Numeric literal missing digits (exponent) -> TS1124 via tsc --noEmit on 1e.",
"status": "mapped",
"tsCode": 1124
},
{
"bamtsCode": "BAMTS-L010",
"evidence": "BigInt literal must be integer -> TS1353 via tsc --noEmit on 1.5n.",
"status": "mapped",
"tsCode": 1353
},
{
"bamtsCode": "BAMTS-L011",
"evidence": "Invalid private identifier / hash not followed by identifier -> TS1127 via tsc --noEmit on \"# \".",
"status": "mapped",
"tsCode": 1127
},
{
"bamtsCode": "BAMTS-P001",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P002",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P003",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P004",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P005",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P006",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P007",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P009",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P010",
"evidence": "No repository or TypeScript 7.0.2 evidence establishes a one-to-one diagnostic correspondence yet.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P011",
"evidence": "Reserved for parser-side `using` declaration grammar recovery.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-P012",
"evidence": "Reserved for parser-side `using` declaration grammar recovery.",
"status": "unmapped",
"tsCode": null
},
{
"bamtsCode": "BAMTS-C089",
"evidence": "Value or type reference resolves to a known lib-gated global not in the active lib set -> TS2583 in the TypeScript 7.0.2 authority baselines: bigintWithoutLib(target=es5) (line 4).",
"status": "mapped",
"tsCode": 2583
},
{
"bamtsCode": "BAMTS-C090",
"evidence": "Derived constructor reads `this` before a guaranteed super() call -> TS17009 in the TypeScript 7.0.2 authority baselines: checkSuperCallBeforeThisAccess (line 7), checkSuperCallBeforeThisAccessing2 (line 5).",
"status": "mapped",
"tsCode": 17009
},
{
"bamtsCode": "BAMTS-C091",
"evidence": "Derived constructor reads a `super` property before a guaranteed super() call -> TS17011 in the TypeScript 7.0.2 authority baselines: checkSuperCallBeforeThisAccess (line 9), checkSuperCallBeforeThisAccessing3 (line 5).",
"status": "mapped",
"tsCode": 17011
},
{
"bamtsCode": "BAMTS-C092",
"evidence": "Derived class reads a base class field through `super` -> TS2855 in the TypeScript 7.0.2 authority baselines: checkSuperCallBeforeThisAccess (lines 9, 12, 17, 22, 45).",
"status": "mapped",
"tsCode": 2855
},
{
"bamtsCode": "BAMTS-C093",
"evidence": "Derived class reads a base static member through `super` -> TS2576 in the TypeScript 7.0.2 authority baselines: superAccess (line 9, both target variants).",
"status": "mapped",
"tsCode": 2576
},
{
"bamtsCode": "BAMTS-C094",
"evidence": "Block-scoped variable referenced textually before its declaration -> TS2448 in the TypeScript 7.0.2 authority baselines: blockScopedEnumVariablesUseBeforeDef_preserve, useBeforeDeclaration variants.",
"status": "mapped",
"tsCode": 2448
},
{
"bamtsCode": "BAMTS-C095",
"evidence": "Class referenced textually before its declaration -> TS2449 in the TypeScript 7.0.2 authority baselines: useBeforeDeclaration_classDecorators.1 (lines 7, 10, 29, 30).",
"status": "mapped",
"tsCode": 2449
},
{
"bamtsCode": "BAMTS-C096",
"evidence": "Enum referenced textually before its declaration -> TS2450 in the TypeScript 7.0.2 authority baselines: blockScopedEnumVariablesUseBeforeDef (line 2, both target variants).",
"status": "mapped",
"tsCode": 2450
},
{
"bamtsCode": "BAMTS-C097",
"evidence": "Rest parameter followed by another parameter -> TS1014 in the TypeScript 7.0.2 authority baselines: restParameterNotLast (line 1).",
"status": "mapped",
"tsCode": 1014
},
{
"bamtsCode": "BAMTS-C098",
"evidence": "Interface named after a primitive type -> TS2427 in the TypeScript 7.0.2 authority baselines: InterfaceDeclaration8 (line 1).",
"status": "mapped",
"tsCode": 2427
},
{
"bamtsCode": "BAMTS-C099",
"evidence": "Base field read through `super` under an ES5 target -> TS2340 in the TypeScript 7.0.2 authority baselines: superAccess(target=es5) (lines 10, 11).",
"status": "mapped",
"tsCode": 2340
},
{
"bamtsCode": "BAMTS-C100",
"evidence": "Parameter initializer on an overload signature -> TS2371 in the TypeScript 7.0.2 authority baselines: defaultValueInConstructorOverload1 (line 2).",
"status": "mapped",
"tsCode": 2371
},
{
"bamtsCode": "BAMTS-C101",
"evidence": "Label redeclared within one function -> TS1114 in the TypeScript 7.0.2 authority baselines: duplicateLabel2 (line 3).",
"status": "mapped",
"tsCode": 1114
},
{
"bamtsCode": "BAMTS-C102",
"evidence": "Labeled break with no enclosing declaration of the label -> TS1116 in the TypeScript 7.0.2 authority baselines: breakTarget6 (line 2).",
"status": "mapped",
"tsCode": 1116
},
{
"bamtsCode": "BAMTS-C103",
"evidence": "Labeled break whose target crosses a function boundary -> TS1107 in the TypeScript 7.0.2 authority baselines: breakTarget5 (line 5).",
"status": "mapped",
"tsCode": 1107
}
]
}