How to declare an array of objects typescript