I guess I have an easy question, but where I couldn’t find a good solution for.
I’m using typescript-collections:
let testCollection = Collections.Dictionary<string, Collection<string, string>();
Now I want to iterate all elements. For that, the collection provides a foreach-method. But I don’t have any idea how I can get the key and value within the foreach method:
testCollection.foreach(element => {
let key: string = ???
let value: Collection.Dictionary<string, string> = ???
})