The type property of the Highlight interface is an enumerated String used to specify the meaning of the highlight.
type
MDN Reference