[typescript] How can I define an interface for an array of objects with Typescript?