angular creating an interface and initialising it code example
Example: how to declare interface object in angular 11
var myObject = {} as IObject
var myListObject = [] as Array<IObject>
var myObject = {} as IObject
var myListObject = [] as Array<IObject>