Typescript Mapped Type Array In Python W3schools