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

Function signature permutations for leading optional parameters not always created #327

Closed akudev closed 2 years ago

akudev commented 2 years ago

For functions where optional parameters are followed by non-optional ones (which is not allowed by TypeScript), all permutations of signatures are generated where the leading optional parameters are either present or not.

However, this is not applied to: https://sapui5.hana.ondemand.com/#/api/module:sap/ui/test/opaQunit

Likely because this is a special type of function on a namespace.

akudev commented 2 years ago

Issue is understood and fixed in the internal generator repo. Closing this as a duplicate of https://github.com/SAP/ui5-typescript/issues/308 as that issue in opaQunit is the only manifestation of the underlying bug in all of UI5.