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

This commit is contained in:
Norm 2022-07-21 18:51:08 -04:00
parent 150f373ebf
commit bfd9c7404b
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

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