refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)

This commit is contained in:
Ricardo Espinoza
2024-07-04 03:30:51 -04:00
committed by GitHub
parent 7a3c127b2c
commit cef177455e
96 changed files with 212 additions and 222 deletions

View File

@@ -212,9 +212,9 @@ type Props = {
const props = withDefaults(defineProps<Props>(), { path: '', hiddenIssuesInputs: () => [] });
const emit = defineEmits<{
(event: 'activate'): void;
(event: 'valueChanged', value: IUpdateInformation): void;
(event: 'parameterBlur', value: string): void;
activate: [];
valueChanged: [value: IUpdateInformation];
parameterBlur: [value: string];
}>();
const nodeTypesStore = useNodeTypesStore();