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