prosemirror-view does not export the type property of Decoration. So, this defines the DecorationType interface to include the type property.
type
Decoration
DecorationType
Readonly
prosemirror-view does not export the
typeproperty ofDecoration. So, this defines theDecorationTypeinterface to include thetypeproperty.