When calling sap.ui.base.Object.extend, it is possible to specify a custom metadata object as a third parameter:
https://ui5.sap.com/#/api/sap.ui.base.Object%23methods/sap.ui.base.Object.extend
It should be possible to set this also in the typescript definiton. (maybe another jsdoc parameter -> @metadata?)
Thanks!