Typescript Class Optional Constructor In Python Javatpoint