SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 258 forks source link

Typescript: replace custom types for OpenUI5 classes in "base" with OpenUI5 type definitions #6291

Open ilhan007 opened 1 year ago

ilhan007 commented 1 year ago

Feature Request Description

In "base" package we require several OpenUI5 Core classes via window.sap.ui.require as part of the OpenUI5 integration scenarios and use custom types to describe the classes

Proposed Solution

Make use of the OpenUI5 type definitions (provided by "@types/openui5") as done for the "localization" package.

Priority

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

nnaydenow commented 1 year ago

We are waiting following types to appear in OpenUI5:

sap/ui/core/Configuration.js

sap/ui/core/LocaleData.js

Once they're added we can replace custom types.