rename AllCommands to Commands
This commit is contained in:
@@ -50,7 +50,7 @@ function getMapFromOptions(options: AnnotationOptions): Y.Map<any> {
|
||||
}
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllCommands {
|
||||
interface Commands {
|
||||
annotation: {
|
||||
addAnnotation: (data: any) => Command,
|
||||
updateAnnotation: (id: string, data: any) => Command,
|
||||
|
||||
@@ -7,7 +7,7 @@ export interface DetailsOptions {
|
||||
}
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllCommands {
|
||||
interface Commands {
|
||||
details: {
|
||||
/**
|
||||
* Set a details node
|
||||
|
||||
@@ -8,7 +8,7 @@ export interface IframeOptions {
|
||||
}
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllCommands {
|
||||
interface Commands {
|
||||
iframe: {
|
||||
/**
|
||||
* Add an iframe
|
||||
|
||||
Reference in New Issue
Block a user