[TASK] Use explicit flatpickr types
The date time picker module `@typo3/backend/date-time-picker` uses flatpickr, but wasn't aware of it due loose `any` usages. The code is modified to make use of the typings shipped with flatpickr. To solve this long-standing issue, the module identifier is changed from `flatpickr/flatpickr.min` to `flatpickr`, which requires an additional entry in the `JavaScriptModules.php` configuration, but allows to remove a module declaration. Resolves: #104338 Releases: main, 12.4 Change-Id: I3feed53627c639e21e4812855fd4ce2defe91c14 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85182 Reviewed-by:Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com>
Showing
- Build/Sources/TypeScript/backend/date-time-picker.ts 7 additions, 12 deletionsBuild/Sources/TypeScript/backend/date-time-picker.ts
- Build/types/TYPO3/index.d.ts 0 additions, 1 deletionBuild/types/TYPO3/index.d.ts
- typo3/sysext/backend/Resources/Public/JavaScript/date-time-picker.js 1 addition, 1 deletion...t/backend/Resources/Public/JavaScript/date-time-picker.js
- typo3/sysext/core/Configuration/JavaScriptModules.php 1 addition, 0 deletionstypo3/sysext/core/Configuration/JavaScriptModules.php
Please register or sign in to comment