@@ -342,9 +342,7 @@ tester.addFixturePatternConfig('typescript/basics', {
342
342
*/
343
343
'interface-with-extends-member-expression' ,
344
344
/**
345
- * Was expected to be fixed by PR into Babel: https://github.com/babel/babel/pull/9302
346
- * But not fixed in Babel 7.3
347
- * TODO: Investigate differences
345
+ * https://github.com/typescript-eslint/typescript-eslint/issues/2998
348
346
*/
349
347
'type-import-type' ,
350
348
'type-import-type-with-type-parameters-in-type-reference' ,
@@ -371,30 +369,24 @@ tester.addFixturePatternConfig('typescript/basics', {
371
369
*/
372
370
'export-named-enum-computed-string' ,
373
371
/**
374
- * Babel: TSTypePredicate includes `: ` statement in range
375
- * ts-estree: TSTypePredicate does not include `: ` statement in range
376
- * https://github.com/babel/babel/issues/12676
372
+ * Babel: TSTypePredicate does not include `asserts ` statement in range
373
+ * ts-estree: TSTypePredicate does include `asserts ` statement in range
374
+ * https://github.com/babel/babel/pull/12763
377
375
*/
378
- 'type-assertion-in-arrow-function' ,
379
- 'type-assertion-in-function' ,
380
- 'type-assertion-in-interface' ,
381
- 'type-assertion-in-method' ,
382
- 'type-assertion-with-guard-in-arrow-function' ,
383
- 'type-assertion-with-guard-in-function' ,
384
- 'type-assertion-with-guard-in-interface' ,
385
376
'type-assertion-with-guard-in-method' ,
386
- 'type-guard-in-arrow-function' ,
387
- 'type-guard-in-function' ,
388
- 'type-guard-in-interface' ,
389
377
/**
390
378
* [BABEL ERRORED, BUT TS-ESTREE DID NOT]
391
379
* This is intentional; we don't error on semantic problems for these cases
392
380
*/
393
381
'class-with-constructor-and-type-parameters' ,
394
382
'class-with-two-methods-computed-constructor' ,
395
- 'catch-clause-with-invalid-annotation' ,
396
383
'export-type-star-from' ,
397
384
'import-type-error' ,
385
+ /**
386
+ * [TS-ESTREE ERRORED, BUT BABEL DID NOT]
387
+ * TODO: report this to babel
388
+ */
389
+ 'catch-clause-with-invalid-annotation' ,
398
390
/**
399
391
* babel does not take into account leading character into union and intersection
400
392
* https://github.com/babel/babel/pull/12758
0 commit comments