Add missing event declaration

Fixes typescript error:
Argument of type '"edit"' is not assignable to parameter of type '"toggleHighlights"'
This commit is contained in:
davelopez
2024-05-24 10:53:00 +02:00
parent afac2afa24
commit a0adf7e76b
@@ -26,6 +26,7 @@ const props = withDefaults(defineProps<Props>(), {
const emit = defineEmits<{
(e: "toggleHighlights"): void;
(e: "edit"): void;
}>();
const result = computed(() => datasetStore.getDataset(props.id));