type

external val type: String(source)

The type read-only property of the ImageDecoder interface reflects the MIME type configured during construction.

MDN Reference