prosemirror-view does not export the type property of Decoration. This adds the type property to the Decoration type.
type
Decoration
prosemirror-view does not export the
typeproperty ofDecoration. This adds thetypeproperty to theDecorationtype.