Hi all
I am facing an issue when trying to exercise a choice. My choice as an argument containing a field called warantObservers.
This field has the following type on the choice:
type PartiesMap = Map Text Parties
where Parties = Set Party
on the FE it appears to me like this:
warrantObservers: damlTypes.Map<string, Set<string>>
I am currently trying to pass it like this, but without success:
damlTypes.emptyMap<string, Set<string>>().set("public", new Set(publicParty));
I do understand that the error is because the native TS set type is different from the one of DA.Types. My question. here is how can i can i recreate DA.Types Set on my side to exercise this choice?
I did check this part of your code DA SET Types, but i couldn’t fully understand how to recreate this on typescript.
Any help would be appreciated.
Thanks and have a nice day