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:
I'm using latest TS and node (v2.6 and v8.9 respectively) and I can do:
let myMap = new Map(); myMap.set("a", true); for (let [k, v] of myMap) { console.log(k + "=" + v); }