add return type to toggle in checkbox.vue
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
Norm 2022-08-20 14:15:36 -04:00
parent 16e9cf91f7
commit f236653c26
Signed by: norm
GPG key ID: 7123E30E441E80DE

View file

@ -37,7 +37,7 @@ const emit = defineEmits<{
let button = $ref<HTMLElement>();
const checked = toRefs(props).modelValue;
const toggle = () => {
const toggle = (): void => {
if (props.disabled) return;
emit('update:modelValue', !checked.value);