Improve TS Types / JSDoc Issues for Calendar Controls
OpenUI5 version: 1.114.0
Issue
API methods of the SinglePlanningCalendar, PlanningCalendar control return an object , when the return type should be Date | UI5Date
https://sdk.openui5.org/api/sap.m.PlanningCalendar
- maxDate
- minDate
- startDate
https://sdk.openui5.org/api/sap.m.SinglePlanningCalendar
- startDate
Hello @BenReim , Thank you for sharing this finding. Even though I am not sure if such a change could be considered backward compatible I've created an internal incident 2380063108 in order to be processes by the team owning the controls. The status of the issue will be updated here in GitHub.
Regards, Elena Github Dispatcher
Hey @BenReim,
Thanks again for sharing, the issue is now fixed with the commit linked above and will be available in UI5 version 1.125.
Best, Diana