mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -27,8 +27,8 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
});
|
||||
|
||||
const emit = defineEmits<{
|
||||
(event: 'addNodes', value: AddedNodesAndConnections): void;
|
||||
(event: 'toggleNodeCreator', value: ToggleNodeCreatorOptions): void;
|
||||
addNodes: [value: AddedNodesAndConnections];
|
||||
toggleNodeCreator: [value: ToggleNodeCreatorOptions];
|
||||
}>();
|
||||
|
||||
const state = reactive({
|
||||
|
||||
Reference in New Issue
Block a user