diff --git a/types/prosemirror-model/index.d.ts b/types/prosemirror-model/index.d.ts index aa02f9b770..a86037d0f8 100644 --- a/types/prosemirror-model/index.d.ts +++ b/types/prosemirror-model/index.d.ts @@ -1323,7 +1323,7 @@ export class Schema { /** * A map from mark names to mark type objects. */ - marks: { [name in M]: MarkType> } & { [key: string]: NodeType> }; + marks: { [name in M]: MarkType> } & { [key: string]: MarkType> }; /** * The type of the [default top node](#model.SchemaSpec.topNode) * for this schema.