[typescript] How can I define an array of objects?