refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -158,11 +158,11 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
});
|
||||
|
||||
const $emit = defineEmits<{
|
||||
(event: 'validate', shouldValidate: boolean): void;
|
||||
(event: 'update:modelValue', value: Validatable): void;
|
||||
(event: 'focus'): void;
|
||||
(event: 'blur'): void;
|
||||
(event: 'enter'): void;
|
||||
validate: [shouldValidate: boolean];
|
||||
'update:modelValue': [value: Validatable];
|
||||
focus: [];
|
||||
blur: [];
|
||||
enter: [];
|
||||
}>();
|
||||
|
||||
const state = reactive({
|
||||
|
||||
Reference in New Issue
Block a user