typescript - How can I define an interface for an array of objects? - Stack Overflow

PHOTO EMBED

Fri Sep 23 2022 09:34:23 GMT+0000 (Coordinated Universal Time)

Saved by @jacopo #javascript

export interface MyInterface extends Array<MyType> { }
content_copyCOPY

https://stackoverflow.com/questions/25469244/how-can-i-define-an-interface-for-an-array-of-objects