Skip to content
Snippets Groups Projects
Commit b8b861a4 authored by Andreas Kienast's avatar Andreas Kienast
Browse files

[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: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 9cc26a6b
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment