Skip to content

Commit

Permalink
docs(usePointerSwipe): fix ts type error (#2795)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Skyblue committed Feb 20, 2023
1 parent c86f26d commit fb3fad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/usePointerSwipe/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { computed, ref } from 'vue'
import { usePointerSwipe } from '@vueuse/core'
import type { SwipeDirection } from '@vueuse/core'
const target = ref<Element | null>(null)
const target = ref<HTMLElement | null>(null)
const container = ref<HTMLElement | null>(null)
const containerWidth = computed(() => container.value?.offsetWidth)
Expand Down

0 comments on commit fb3fad2

Please sign in to comment.