While browsing through this response on stackoverflow
The author answered: // How I usually initialize
var foo:IFoo = <any>{};
I attempted to research it online, but unfortunately, I couldn't find any information about it. Could someone explain what the section <any>{};
means?
Also, is {} as any
equivalent to <any>{}
?