refactor: fix types

This commit is contained in:
Nick the Sick 2024-06-26 22:27:31 +02:00
parent 4ad8bbe5f3
commit c121d53d19
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC

View File

@ -1,5 +1,5 @@
import { BubbleMenuPlugin, BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu'
import Vue, { Component, PropType } from 'vue'
import Vue, { Component, CreateElement, PropType } from 'vue'
export interface BubbleMenuInterface extends Vue {
pluginKey: BubbleMenuPluginProps['pluginKey'],
@ -60,7 +60,7 @@ export const BubbleMenu: Component = {
},
},
render(this: BubbleMenuInterface, createElement) {
render(this: BubbleMenuInterface, createElement: CreateElement) {
return createElement('div', { style: { visibility: 'hidden' } }, this.$slots.default)
},