Skip to content

Commit

Permalink
fix(useFocusWithin): change focused typing to ComputedRef (#2073)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaii3 committed Sep 4, 2022
1 parent cc82565 commit 3316e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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'
Expand All @@ -8,7 +8,7 @@ export interface UseFocusWithinReturn {
/**
* True if the element or any of its descendants are focused
*/
focused: Ref<boolean>
focused: ComputedRef<boolean>
}

/**
Expand Down

0 comments on commit 3316e81

Please sign in to comment.