Skip to content

Commit

Permalink
fix(BaseSwitchBall): change modelValue type to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Aug 12, 2023
1 parent da163b8 commit 0fb7dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/form/BaseSwitchBall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const props = withDefaults(
/**
* The model value of the switch.
*/
modelValue?: any
modelValue?: boolean
/**
* Accessible label for the switch.
Expand All @@ -39,7 +39,7 @@ const props = withDefaults(
}
)
const emits = defineEmits<{
(e: 'update:modelValue', value: any): void
(e: 'update:modelValue', value: boolean): void
}>()
const value = useVModel(props, 'modelValue', emits, {
passive: true,
Expand Down

0 comments on commit 0fb7dd5

Please sign in to comment.