Typescript Define Interface For Object In Python Meaning