// define example
let FoundGoodPoints: { [y: number] : number } = {};
// iterate
for(const [key, value] of pairs(FoundGoodPoints))
{
   
}