form-dialog: set type of result for 'done' event to Record<string, any> #20

Merged
Johann150 merged 1 commit from :refactor/form-dialog into main 2022-07-22 06:16:50 +00:00

View file

@ -74,7 +74,7 @@ const props = defineProps<{
}>(); }>();
const emit = defineEmits<{ const emit = defineEmits<{
(ev: 'done', v: { result?: object, canceled?: boolean }): void, (ev: 'done', v: { result?: Record<string, any>, canceled?: boolean }): void,
(ev: 'closed'): void (ev: 'closed'): void
}>(); }>();