Typescript Push Element In Array Javascript Methods For Objects