collaboration cursor: fix type for clientId, fix #1582

This commit is contained in:
Hans Pagel 2021-07-13 23:30:01 +02:00
parent 408835aafd
commit dbe2a8370a

View File

@ -5,7 +5,7 @@ export interface CollaborationCursorOptions {
provider: any,
user: Record<string, any>,
render (user: Record<string, any>): HTMLElement,
onUpdate: (users: { clientId: string, [key: string]: any }[]) => null,
onUpdate: (users: { clientId: number, [key: string]: any }[]) => null,
}
declare module '@tiptap/core' {