Typescript Nested Class Python Initialize Array