diff --git a/packages/core/useFocusWithin/index.ts b/packages/core/useFocusWithin/index.ts index bd297bf95d5..2d166b3214c 100644 --- a/packages/core/useFocusWithin/index.ts +++ b/packages/core/useFocusWithin/index.ts @@ -1,4 +1,4 @@ -import type { Ref } from 'vue-demi' +import type { ComputedRef } from 'vue-demi' import { computed } from 'vue-demi' import type { MaybeElementRef } from '../unrefElement' import { unrefElement } from '../unrefElement' @@ -8,7 +8,7 @@ export interface UseFocusWithinReturn { /** * True if the element or any of its descendants are focused */ - focused: Ref + focused: ComputedRef } /**