mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -85,8 +85,8 @@ const props = withDefaults(defineProps<DatatableProps>(), {
|
||||
});
|
||||
|
||||
const $emit = defineEmits<{
|
||||
(event: 'update:currentPage', value: number): void;
|
||||
(event: 'update:rowsPerPage', value: number): void;
|
||||
'update:currentPage': [value: number];
|
||||
'update:rowsPerPage': [value: number];
|
||||
}>();
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
Reference in New Issue
Block a user