fix type
This commit is contained in:
@ -51,8 +51,8 @@ const emit = defineEmits<{
|
||||
const modal = ref<InstanceType<typeof MkModal>>();
|
||||
const picker = ref<InstanceType<typeof MkEmojiPicker>>();
|
||||
|
||||
function chosen(emoji: any, withRenote: boolean) {
|
||||
emit('done', { reaction: emoji, withRenote: withRenote });
|
||||
function chosen(results: { reaction: string, withRenote: boolean }) {
|
||||
emit('done', results);
|
||||
modal.value?.close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user