Good day!
I want to get the names and YTypes of all the shared types in my doc.
This is what I tried to do:
doc.share.forEach((value, key) => {
var type = value._start.content.type.constructor.name
});
This is a very hacky way, and it works well for YXmlElements, but not with YArrays.
Is there any consistent/proper method to get the YTypes for all the shared types in my doc?
Thanks,
Mansehej.