TypeScript Итерация над интерфейсом
(Object.keys(newResources) as Array<keyof Resources>).forEach(...)
Alexandre Dao
(Object.keys(newResources) as Array<keyof Resources>).forEach(...)