Js Remove Object From Array Of Objects In Typescript