mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +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,
|
provider: any,
|
||||||
user: Record<string, any>,
|
user: Record<string, any>,
|
||||||
render (user: Record<string, any>): HTMLElement,
|
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' {
|
declare module '@tiptap/core' {
|
||||||
|
Loading…
Reference in New Issue
Block a user