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

metadata bindable does not add convenience functions #372

Closed Revest117 closed 2 years ago

Revest117 commented 2 years ago

Adding the bindable tag to metadata properties or aggregations element does not result in a bind or other convenience functions in the gen.d.ts

akudev commented 2 years ago

@Revest117 Actually it does work for aggregations, as can be seen in this sample output: https://github.com/SAP/ui5-typescript/blob/main/packages/ts-interface-generator/src/test/testdata/sampleControl/SampleControl.gen.d.ts#L43

But you are right that it is missing for properties. Thanks!