Typescript Check Type Of Array In Python Declaration