Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Orphaned

90853[TASK] Generate TypeScript declarations (d.ts)

Oliver Hader CR 0 V 0 Impossible +10958 −3 updated 10/01/25, 08:32

Commit message

Exports TypeScript declarations (d.ts) into each extension folder
`typo3/sysext/**/Resources/Private/Types/**/*.d.ts`.

The declarations can be generated with `npm run build-js`.

@todo
- decide whether to use Resources/Private/Types and/or to
  expose the declarations to separate npm packages, like e.g.
  `@typo3/cms-backend-types`
- understand how to integrate the excluded TypeScript files
  which are extending `tree-module-state.ts`

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/53/90853/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/53/90853/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 402

Show 382 more files

Review log 36

  1. Oliver Hader uploaded patch set 1 10/01/25, 08:08

  2. Oliver Hader marked it work in progress 10/01/25, 08:10

  3. Oliver Hader updated the commit message in patch set 2 10/01/25, 08:16

  4. core-ci voted on patch set 1 V -1 10/01/25, 08:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85785

  5. core-ci voted on patch set 1 V +1 10/01/25, 08:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85785

  6. core-ci voted on patch set 2 V +1 10/01/25, 08:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85786