Typescript array and getting error property 'push' of undefined
If you ever bump into this error, well it just you forgot something really basic and the solution is pretty straight forward too.
In case, you're wondering why, it is because you didn't initialize it well 'enough' :)
Comments