Typescript Class Optional Constructor In Python Oop Tutorial