If your image property contains …
Image used as <img> element
image?: HTMLImageElement
URL to image.
image?: String
Image as file from <input> element
image?: File
If your image property contains …
Image used as <img> element
image?: HTMLImageElement
URL to image.
image?: String
Image as file from <input> element
image?: File