I have a Feature object (originally from database but in code below I simplified it) and I want to update it:
type Feature = {id: number, name: string, delete