Typescript Add Elements To Numpy Array Indexing