Skip to content

Commit

Permalink
Fix eslint warning (type)
Browse files Browse the repository at this point in the history
Prop 'content' should define at least its type
  • Loading branch information
yaaax committed Aug 26, 2024
1 parent 1250bda commit ecd65d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion confiture-web-app/src/components/ui/Tiptap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ecd65d7

Please sign in to comment.