From 19fbc8b29bd5abfb75b1c52cac75dc6688841c21 Mon Sep 17 00:00:00 2001 From: Nikita Mikhailov Date: Wed, 10 Aug 2022 21:44:17 +0300 Subject: [PATCH] chore(useFocusWithin): change focused type to ComputedRef. --- packages/core/useFocusWithin/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } /**