TypeScript itérer sur l'interface

(Object.keys(newResources) as Array<keyof Resources>).forEach(...)
Alexandre Dao