fix: set correct type for emitUpdate
This commit is contained in:
@@ -6,7 +6,7 @@ declare module '@tiptap/core' {
|
|||||||
/**
|
/**
|
||||||
* Clear the whole document.
|
* Clear the whole document.
|
||||||
*/
|
*/
|
||||||
clearContent: (emitUpdate?: Boolean) => Command,
|
clearContent: (emitUpdate?: boolean) => Command,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ declare module '@tiptap/core' {
|
|||||||
*/
|
*/
|
||||||
setContent: (
|
setContent: (
|
||||||
content: Content,
|
content: Content,
|
||||||
emitUpdate?: Boolean,
|
emitUpdate?: boolean,
|
||||||
parseOptions?: Record<string, any>,
|
parseOptions?: Record<string, any>,
|
||||||
) => Command,
|
) => Command,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user