Typescript Push Element In Array Python Example