Typescript Delete Item From Array In Js