Typescript Push Into Empty Array In Javascript