Skip to content

Commit

Permalink
fix(useMousePressed): change type of element parameter to MaybeComput…
Browse files Browse the repository at this point in the history
…edElementRef (#3566)

Signed-off-by: Chris-Robin Ennen <ce053@hdm-stuttgart.de>
  • Loading branch information
4350pChris committed Dec 4, 2023
1 parent 8f42a92 commit 17f97f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useMousePressed/index.ts
@@ -1,5 +1,5 @@
import { computed, ref } from 'vue-demi'
import type { MaybeElementRef } from '../unrefElement'
import type { MaybeComputedElementRef } from '../unrefElement'
import { unrefElement } from '../unrefElement'
import { useEventListener } from '../useEventListener'
import type { UseMouseSourceType } from '../useMouse'
Expand Down Expand Up @@ -39,7 +39,7 @@ export interface MousePressedOptions extends ConfigurableWindow {
/**
* Element target to be capture the click
*/
target?: MaybeElementRef
target?: MaybeComputedElementRef
}

/**
Expand Down

0 comments on commit 17f97f6

Please sign in to comment.