Closed PierreFritsch closed 1 month ago
Hello @PierreFritsch , Thank you for sharing this finding. I've created an internal incident DINC0215174. The status of the issue will be updated here in GitHub. Regards,
Hello @PierreFritsch ,
Thanks for the reported issue.
The issue has been fixed and it will be present in the upcoming OpenUI5 1.128 version.
Linking commit for reference: https://github.com/SAP/openui5/commit/04508a03a7fa09590059841a8d91a3b8330b99ad
Regards, Plamen Ivanov
OpenUI5 version
"@sapui5/types": "1.126.0"
URL (minimal example if possible):
Steps to reproduce the problem:
The OPA5 documentation provides the code sample:
What happens?
When I use
"@sapui5/types": "1.126.0"
and I attempt to type the code above, then my IDE shows the error:The documentation also indicates that the
sap.ui.test.Opa5
constructor accepts no parameter:What is the expected result?
I would expect that, when I use SAPUI5 from a TypeScript app with the latest version of
@sapui5/types
, I can use the code samples from the documentation without encountering a type error.