fix allowGapCursor type

This commit is contained in:
Philipp Kühn
2021-02-19 17:41:11 +01:00
parent 6fb28a2741
commit 45e260d535

View File

@@ -6,7 +6,10 @@ declare module '@tiptap/core' {
/**
* Allow gap cursor
*/
allowGapCursor?: boolean | ((this: { options: Options }) => boolean),
allowGapCursor?:
| boolean
| null
| ((this: { options: Options }) => boolean | null),
}
}