Skip to content

Commit

Permalink
fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
radusuciu committed Jul 1, 2024
1 parent 02bd4e7 commit 9346b00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/vue/filters/src/DebouncedInput.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts" setup>
import { computed, onBeforeUnmount, ref } from 'vue'
const props = defineProps({
modelValue: {
type: [String, Number],
Expand All @@ -10,8 +11,11 @@ const props = defineProps({
default: 500,
},
})
const emit = defineEmits(['update:modelValue'])
const timeout = ref<number>()
const timeout = ref<ReturnType<typeof setTimeout>>()
const localValue = computed({
get() {
return props.modelValue
Expand Down

0 comments on commit 9346b00

Please sign in to comment.