TypeScript iterate sobre la interfaz
(Object.keys(newResources) as Array<keyof Resources>).forEach(...)
Alexandre Dao
(Object.keys(newResources) as Array<keyof Resources>).forEach(...)