From ecd65d75416133f1a7ec937938fd2b6306fd3068 Mon Sep 17 00:00:00 2001 From: Yaacov Date: Mon, 26 Aug 2024 18:05:01 +0200 Subject: [PATCH] Fix eslint warning (type) Prop 'content' should define at least its type --- confiture-web-app/src/components/ui/Tiptap.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/confiture-web-app/src/components/ui/Tiptap.vue b/confiture-web-app/src/components/ui/Tiptap.vue index 63293483..e0f36448 100644 --- a/confiture-web-app/src/components/ui/Tiptap.vue +++ b/confiture-web-app/src/components/ui/Tiptap.vue @@ -25,7 +25,9 @@ lowlight.register("css", css); lowlight.register("js", js); lowlight.register("ts", ts); -const props = defineProps(["content"]); +const props = defineProps<{ + content: string; +}>(); const emit = defineEmits(["update:content"]); function getContent() {