SAP / ui5-typescript

Tooling to enable TypeScript support in SAPUI5/OpenUI5 projects
https://sap.github.io/ui5-typescript
Apache License 2.0
201 stars 28 forks source link

ODataModel v4 bindContext parameters in error #355

Closed lemaiwo closed 2 years ago

lemaiwo commented 2 years ago

Hi,

We noticed that TypeScript is raising errors when we try to use bindContext on the ODataModel v4 with the expand parameter. MicrosoftTeams-image (9)

Although this is supported in the documentation: https://ui5.sap.com/1.96.8/#/api/sap.ui.model.odata.v4.ODataModel%23methods/bindContext image

Probably not a TypeScript issue as this the $expand is not mentioned with its own property in the documentation. Nevertheless, it should not raise an error if it is allowed to use it.

Kr, Wouter

akudev commented 2 years ago

This is going to be addressed now; internal ticket 2280143893 tracks it.

akudev commented 2 years ago

Fixed for next release.