fix a type bug for now
This commit is contained in:
@@ -15,7 +15,7 @@ export const BubbleMenu = defineComponent({
|
|||||||
pluginKey: {
|
pluginKey: {
|
||||||
// TODO: TypeScript breaks :(
|
// TODO: TypeScript breaks :(
|
||||||
// type: [String, Object as PropType<Exclude<BubbleMenuPluginProps['pluginKey'], string>>],
|
// type: [String, Object as PropType<Exclude<BubbleMenuPluginProps['pluginKey'], string>>],
|
||||||
type: [String, Object],
|
type: null,
|
||||||
default: 'bubbleMenu',
|
default: 'bubbleMenu',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const FloatingMenu = defineComponent({
|
|||||||
pluginKey: {
|
pluginKey: {
|
||||||
// TODO: TypeScript breaks :(
|
// TODO: TypeScript breaks :(
|
||||||
// type: [String, Object as PropType<Exclude<FloatingMenuPluginProps['pluginKey'], string>>],
|
// type: [String, Object as PropType<Exclude<FloatingMenuPluginProps['pluginKey'], string>>],
|
||||||
type: [String, Object],
|
type: null,
|
||||||
default: 'floatingMenu',
|
default: 'floatingMenu',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user