mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-06 00:42:59 +08:00
collaboration cursor: fix type for clientId, fix #1582
This commit is contained in:
parent
408835aafd
commit
dbe2a8370a
@ -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' {
|
||||
|
Loading…
Reference in New Issue
Block a user