I\'m trying to iterate over a typescript map but I keep getting errors and I could not find any solution yet for such a trivial problem.
My code is:
You could use Map.prototype.forEach((value, key, map) => void, thisArg?) : void instead
Map.prototype.forEach((value, key, map) => void, thisArg?) : void
Use it like this:
myMap.forEach((value: boolean, key: string) => { console.log(key, value); });