Typescript Get Type In Array Python Questions Code