@sgiehl I think this https://github.com/matomo-org/matomo/pull/18525 PR is missing a ts-ignore. This PR should fix it. Still working on some screenshots.
@peterhashair simply defining the property also solves the issue. See https://github.com/matomo-org/matomo/pull/18587/files
My PR also already fixes some screenshots, so no need to do that twice....