typescript how to delete a value from array code example
Example: typescript remove an item from array
myArray.splice(index, 1); // insert index and then amount to remove
// from that index
myArray.splice(index, 1); // insert index and then amount to remove
// from that index