I tried writing image: HTMLImageElement in my browser console today. I expected an error would occur, but it didn't.
This does not declare a variable as var image: HTMLImageElement on TypeScript does, and it also does not define a property as var x = { image: HTMLImageElement } does. It seems that this actually does nothing. What does this syntax do?