refactor(editor): Upgrade frontend typing (no-changelog) (#9915)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-07-03 14:19:24 +02:00
committed by GitHub
parent b2f8ea7918
commit 7f8857f69b
40 changed files with 172 additions and 99 deletions

View File

@@ -84,7 +84,10 @@ const props = withDefaults(defineProps<DatatableProps>(), {
rowsPerPage: 10,
});
const $emit = defineEmits(['update:currentPage', 'update:rowsPerPage']);
const $emit = defineEmits<{
(event: 'update:currentPage', value: number): void;
(event: 'update:rowsPerPage', value: number): void;
}>();
const { t } = useI18n();
const rowsPerPageOptions = ref([10, 25, 50, 100]);