refactoring

This commit is contained in:
Philipp Kühn
2020-11-10 21:18:22 +01:00
parent 54c2dcb8e6
commit cb5ca0c084
36 changed files with 41 additions and 36 deletions

View File

@@ -63,7 +63,7 @@ export const Commands = createExtension({
},
})
declare module '../Editor' {
declare module '@tiptap/core' {
interface AllExtensions {
Commands: typeof Commands,
}

View File

@@ -15,7 +15,7 @@ export const Editable = createExtension({
})
// TODO: Editable circularly references itself!?
// declare module '../Editor' {
// declare module '@tiptap/core' {
// interface AllExtensions {
// Editable: typeof Editable,
// }

View File

@@ -36,7 +36,7 @@ export const FocusEvents = createExtension({
},
})
declare module '../Editor' {
declare module '@tiptap/core' {
interface AllExtensions {
FocusEvents: typeof FocusEvents,
}

View File

@@ -45,7 +45,7 @@ export const Keymap = createExtension({
},
})
declare module '../Editor' {
declare module '@tiptap/core' {
interface AllExtensions {
Keymap: typeof Keymap,
}