If you want to create a property with a type like “Ref<xy>” you have to pass the type as a string like this:
comp.createProperty('Ref<Component>', 'Component')
If you want to create a property with a type like “Ref<xy>” you have to pass the type as a string like this:
comp.createProperty('Ref<Component>', 'Component')