Typescript Infer Array As Tuple Vs String In Python