Typescript Infer Array As Tuple In Python