Typescript Enumerate Class Properties Python Programming