fix some typescript bugs

This commit is contained in:
Philipp Kühn
2021-03-05 11:58:52 +01:00
parent e9e3418a0f
commit 2017b84578
5 changed files with 4 additions and 17 deletions

View File

@@ -1,12 +1,6 @@
import { Editor as CoreEditor } from '@tiptap/core'
import Vue from 'vue'
declare module '@tiptap/core' {
interface Editor {
contentComponent: Vue | null,
}
}
export class Editor extends CoreEditor {
public contentComponent: Vue | null = null
}