Review main Merged

98045[TASK] Remove redundant type constituents in TypeScript

Benjamin Kott CR +2 V +2 Easy +15 −15 updated 11/26/26, 12:34

Commit message

Enable @typescript-eslint/no-redundant-type-constituents, which reports
union and intersection members that another member already absorbs,
such as "string | any" or "unknown | undefined". The fourteen existing
findings drop the redundant member, so each type stays what TypeScript
already evaluated it to and the emitted JavaScript does not change.

AjaxResponse.resolve() therefore keeps returning any. Typing response
bodies is a change of its own and not part of enabling the rule.

Review

  • Code review CR +2 Done
    • Benjamin Kott +2
    • Benjamin Franzke +1
  • Verified V +2 Done
    • Benjamin Kott +2
    • Benjamin Franzke +1
    • core-ci +1 CI

Issues 2

Files 9

Review log 815

  1. Benjamin Kott uploaded patch set 1 11/26/26, 00:30

  2. core-ci voted on patch set 1 V +1 11/26/26, 00:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115509

  3. Benjamin Kott rebased onto patch set 2 V +1 11/26/26, 10:23

  4. core-ci voted on patch set 2 V +1 11/26/26, 10:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115544

  5. Benjamin Kott rebased onto patch set 3 V +1 11/26/26, 10:43

  6. core-ci voted on patch set 3 V -1 11/26/26, 10:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115549

  7. Benjamin Franzke voted on patch set 3 CR +1 V +1 11/26/26, 11:06

  8. core-ci commented on patch set 3 11/26/26, 11:06 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115549

  9. core-ci commented on patch set 3 11/26/26, 11:18 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115549

  10. core-ci commented on patch set 3 11/26/26, 11:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115549

  11. Benjamin Kott rebased onto patch set 4 CR +1 V +1 11/26/26, 12:09

  12. Benjamin Franzke voted on patch set 4 CR +1 V +1 11/26/26, 12:16

  13. core-ci voted on patch set 4 V +1 11/26/26, 12:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115561

  14. Benjamin Kott voted on patch set 4 CR +2 V +2 11/26/26, 12:34

  15. Benjamin Kott merged patch set 5 11/26/26, 12:34