Iterating over Typescript Map
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: myMap : Map<string, boolean>; for(let key of myMap.keys()) { console.log(key); } And I get the Error: Type ‘IterableIteratorShim<[string, boolean]>’ is not an array type or a … Read more