Typescript Push To Array Python Methods String