Review 13.4 Merged

93322[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
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 57

  1. Benjamin Franzke uploaded patch set 1 03/24/26, 04:05

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

  3. Benjamin Franzke commented on patch set 2 V +1 04/12/26, 19:39

    Cherry Picked from branch main.
  4. core-ci voted on patch set 2 V +1 04/12/26, 19:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100034

  5. Benjamin Franzke marked it work in progress 04/13/26, 05:13

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

    This change is ready for review.
  7. Benjamin Franzke merged patch set 3 04/13/26, 09:08