Typescript Nested Class Python Init Arraylist