mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -101,11 +101,11 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
});
|
||||
|
||||
const emit = defineEmits<{
|
||||
(event: 'focus'): void;
|
||||
(event: 'blur'): void;
|
||||
(event: 'drop', value: string): void;
|
||||
(event: 'update', value: IUpdateInformation): void;
|
||||
(event: 'textInput', value: IUpdateInformation): void;
|
||||
focus: [];
|
||||
blur: [];
|
||||
drop: [value: string];
|
||||
update: [value: IUpdateInformation];
|
||||
textInput: [value: IUpdateInformation];
|
||||
}>();
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user