mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -14,9 +14,9 @@ const props = defineProps<{
|
||||
}>();
|
||||
|
||||
const $emit = defineEmits<{
|
||||
(event: 'credentialSelected', credentialId: string): void;
|
||||
(event: 'credentialDeselected'): void;
|
||||
(event: 'credentialModalOpened'): void;
|
||||
credentialSelected: [credentialId: string];
|
||||
credentialDeselected: [];
|
||||
credentialModalOpened: [];
|
||||
}>();
|
||||
|
||||
const uiStore = useUIStore();
|
||||
|
||||
Reference in New Issue
Block a user