Typescript Add To Array At Index