Typescript Interface Array Key Value Javascript Foreach