diff --git a/packages/core/useMousePressed/index.ts b/packages/core/useMousePressed/index.ts index 9f5d7bbffab..3ffaf50923e 100644 --- a/packages/core/useMousePressed/index.ts +++ b/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' @@ -39,7 +39,7 @@ export interface MousePressedOptions extends ConfigurableWindow { /** * Element target to be capture the click */ - target?: MaybeElementRef + target?: MaybeComputedElementRef } /**