Review main Merged

92829[TASK] Update to TypeScript v6

Benjamin Franzke CR +2 V +2 Hard +237 −171 updated 04/13/26, 09:08

Commit message

The option `strict` and `noUncheckedSideEffectImports`
have been enabled by default [1] in TypeScript v6. We need
to disable these for now, since our codebase and dependencies
are not ready for this flags to be enabled.

`downlevelIteration` has been deprecated [2], and it was actually
a no-op in our project (emit did not change since we use a recent
target version), which is why this flag is now removed.

lib.dom.iterable.d.ts has been merged into lib.dom.d.ts
(the former file is now empty) [3], therefore we remove
it from our lib configuration.

Other changes in TypeScript v6 have already been prepared
in #108687 and are therefore not required to be adapted now.

Build/Scripts/runTests.sh -s npm -- install -D \
    typescript@^6 \
    @typescript-eslint/eslint-plugin@8.58.1 \
    @typescript-eslint/parser@8.58.1 \
    @typescript-eslint/typescript-estree@8.58.1 \
    htmlnano@^2.1

[1] https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/#simple-default-changes
[2] https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/#deprecated:---downleveliteration
[3] https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/#the-dom-lib-now-contains-dom.iterable-and-dom.asynciterable

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
    • Andreas Kienast +1
    • Benni Mack +1
  • Verified V +2 Done
    • Benjamin Franzke +2
    • Oliver Klee +1
    • Andreas Kienast +1
    • Benni Mack +1
    • core-ci +1 CI

Issues 1

Files 4

Review log 1319

  1. Benjamin Franzke uploaded patch set 1 02/12/26, 19:54

  2. Benjamin Franzke uploaded patch set 2 02/12/26, 20:02

  3. core-ci voted on patch set 1 V -1 02/12/26, 20:02 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95769

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

  5. Benjamin Franzke uploaded patch set 3 V -1 02/12/26, 20:45

  6. core-ci voted on patch set 3 V -1 02/12/26, 20:58 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95777

  7. Benjamin Franzke uploaded patch set 4 V -1 02/12/26, 22:15

  8. core-ci voted on patch set 4 V +1 02/12/26, 22:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95788

  9. Benjamin Franzke marked it work in progress 03/03/26, 17:23

  10. Benjamin Franzke uploaded patch set 5 V +1 03/24/26, 03:59

  11. core-ci voted on patch set 5 V +1 03/24/26, 04:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98525

  12. Benjamin Franzke marked it work in progress 03/30/26, 11:38

  13. Benjamin Franzke uploaded patch set 6 V +1 04/12/26, 19:37

  14. core-ci voted on patch set 6 V +1 04/12/26, 19:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100033

  15. Benni Mack voted on patch set 6 CR +1 V +1 04/13/26, 06:14

  16. Andreas Kienast voted on patch set 6 CR +1 V +1 04/13/26, 06:24

  17. Oliver Klee voted on patch set 6 V +1 04/13/26, 06:55

  18. Benjamin Franzke voted on patch set 6 CR +2 V +2 04/13/26, 09:06

  19. Benjamin Franzke merged patch set 7 04/13/26, 09:08