TypeScript Iterate nad interfejsem
(Object.keys(newResources) as Array<keyof Resources>).forEach(...)
Alexandre Dao
(Object.keys(newResources) as Array<keyof Resources>).forEach(...)