How To Update An Object In An Array In TypeScript?

How To Update An Object In An Array In TypeScript?