ui5-typescript
ui5-typescript copied to clipboard
[@types/[email protected]] localizationChanged event parameters missing
Describe the bug The 1.115 type definitions do not contain event parameters for the localizationChanged event (see https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.core.Core%23events/localizationChanged). Consequently, the attach function does not contain the proper function signature for the callback.
Additional context Package: @types/[email protected]
Thanks for reporting! It's because Core is not an EventProvider - only for them the APIs are generated automatically. In the Core, these methods (attach... detach... etc. are explicitly written, so the JSDoc has to write the complete signature.