In typescript I have following code which throws error and I know "each" is not valid and I have to use "forEach"
objTablesToCheck.forEach(obj