Typescript Push Element In Array Python Definition