Skip to content

Commit

Permalink
fix: fixed tsc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
darklight81 committed Jan 6, 2025
1 parent 91960f6 commit d2fc2db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/BaseModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const props = withDefaults(defineProps<Props>(), {
customHeadingStyles: () => ({}),
})
const emit = defineEmits<{(e: 'update:isOpen', isOpen: boolean), (e: 'is-closed', isOpen: boolean) }>()
const emit = defineEmits<{(e: 'update:isOpen', isOpen: boolean): any, (e: 'is-closed', isOpen: boolean): any }>()
defineSlots<{
// slots return "any" atm as described in official docs
Expand Down Expand Up @@ -118,7 +118,7 @@ const isOpenLocal = computed({
set: (value: boolean): void => emit('update:isOpen', value),
})
const isClickedOutside = (event): boolean => event.target !== event.currentTarget
const isClickedOutside = (event: any): boolean => event.target !== event.currentTarget
const close = (event: MouseEvent): void => {
if (!props.isClosable) return
Expand Down

0 comments on commit d2fc2db

Please sign in to comment.