Typescript Nested Class Python Syntax For Variables