add Commands interface
This commit is contained in:
@@ -52,9 +52,3 @@ export const ClipboardTextSerializer = Extension.create({
|
||||
]
|
||||
},
|
||||
})
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
ClipboardTextSerializer: typeof ClipboardTextSerializer,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,9 +98,3 @@ export const Commands = Extension.create({
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Commands: typeof Commands,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,9 +15,3 @@ export const Editable = Extension.create({
|
||||
]
|
||||
},
|
||||
})
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Editable: typeof Editable,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,9 +43,3 @@ export const FocusEvents = Extension.create({
|
||||
]
|
||||
},
|
||||
})
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
FocusEvents: typeof FocusEvents,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,9 +34,3 @@ export const Keymap = Extension.create({
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Keymap: typeof Keymap,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user