image is an HTMLImageElement. According to MDN, that has no type property. I have tested uploading a file and logging the element along with it's type property, and I cannot find it. Especially considering this is coming directly from a new Image() call, I don't know where else it could be coming from.
`image` is an `HTMLImageElement`. According to MDN, that has no type property. I have tested uploading a file and logging the element along with it's `type` property, and I cannot find it. Especially considering this is coming directly from a `new Image()` call, I don't know where else it could be coming from.