SAP / ui5-typescript

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

ts-interface-generator: does not work with the UI5 1.115.0 types #397

Closed akudev closed 1 year ago

akudev commented 1 year ago

The ts-interface-generator does not identify ManagedObjects/Controls when the UI5 1.115.0 types are used. This is because TypeScript's getFullyQualifiedName() does not work as expected after a change in how the UI5 classes are declared (or more specifically: exported).

export default class Control {...} works fine, but class Control {...} export default Control does not (getFullyQualifiedName returns just "Control" instead of the full module prefix).

Under investigation on which side this can be solved.

Stay on the 1.114 types when developing controls.

akudev commented 1 year ago

Alright, 1.115 types can be used now.