Fix type in emit

This commit is contained in:
Pier-Jean Malandrino 2026-03-24 08:38:55 +01:00
parent 079595b57d
commit 40cba0f036
2 changed files with 1 additions and 1 deletions

View file

@ -27,7 +27,7 @@ import { ref } from 'vue'
import { useDocumentStore } from '../store'
import { useI18n } from '../../../shared/i18n'
const emit = defineEmits<{ uploaded: [docId: number] }>()
const emit = defineEmits<{ uploaded: [docId: string] }>()
const store = useDocumentStore()
const { t } = useI18n()