Typescript Insert Into Array At Index