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

ts-types-esm: VersionInfo.load does not allow no arguments #333

Closed nlunets closed 2 years ago

nlunets commented 2 years ago

In the API it is stated that we can avoid passing any library however the jsdoc / types expect one

https://sapui5.hana.ondemand.com/#/api/module:sap/ui/VersionInfo%23methods/module:sap/ui/VersionInfo.load

codeworrior commented 2 years ago

Yep, that's true. It's a documentation bug in openui5. We'll take care of a fix there.

akudev commented 2 years ago

Fixed by https://github.com/SAP/openui5/commit/b79ab13f06e9c9509b4eacad1464f09f026a4321