diff --git a/types/prosemirror-view/index.d.ts b/types/prosemirror-view/index.d.ts index da83390c40..9e3b40d215 100644 --- a/types/prosemirror-view/index.d.ts +++ b/types/prosemirror-view/index.d.ts @@ -128,6 +128,11 @@ export interface DecorationAttrs { * this type (and the other attributes are applied to this element). */ nodeName?: string | null; + /** + * Specify additional attrs that will be mapped directly to the + * target node's DOM attributes. + */ + [key: string]: string | null | undefined; } /** * A collection of [decorations](#view.Decoration), organized in