Typescript Add Elements To Array Python Definition