From 7fefd4c488a0be389651f9f356724b6a6e516b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 6 Sep 2021 22:54:59 +0200 Subject: [PATCH] fix a type bug for now --- packages/vue-3/src/BubbleMenu.ts | 2 +- packages/vue-3/src/FloatingMenu.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-3/src/BubbleMenu.ts b/packages/vue-3/src/BubbleMenu.ts index 3f054d22b..c832a6062 100644 --- a/packages/vue-3/src/BubbleMenu.ts +++ b/packages/vue-3/src/BubbleMenu.ts @@ -15,7 +15,7 @@ export const BubbleMenu = defineComponent({ pluginKey: { // TODO: TypeScript breaks :( // type: [String, Object as PropType>], - type: [String, Object], + type: null, default: 'bubbleMenu', }, diff --git a/packages/vue-3/src/FloatingMenu.ts b/packages/vue-3/src/FloatingMenu.ts index 844b8a226..f894570c1 100644 --- a/packages/vue-3/src/FloatingMenu.ts +++ b/packages/vue-3/src/FloatingMenu.ts @@ -15,7 +15,7 @@ export const FloatingMenu = defineComponent({ pluginKey: { // TODO: TypeScript breaks :( // type: [String, Object as PropType>], - type: [String, Object], + type: null, default: 'floatingMenu', },