Typescript Add Element To Empty Array In C