From c4f386042975e262e6f266613c5b83ca99d7fad6 Mon Sep 17 00:00:00 2001 From: bcastlel <98835787+bcastlel@users.noreply.github.com> Date: Sat, 27 Jan 2024 21:38:32 +0400 Subject: [PATCH] remove the Readonly wrapper for the ComputedRef (#3) Co-authored-by: bcastlel --- packages/vue-use-fixed-header/src/useFixedHeader.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-use-fixed-header/src/useFixedHeader.ts b/packages/vue-use-fixed-header/src/useFixedHeader.ts index 14c28f9..44db705 100644 --- a/packages/vue-use-fixed-header/src/useFixedHeader.ts +++ b/packages/vue-use-fixed-header/src/useFixedHeader.ts @@ -25,8 +25,8 @@ export function useFixedHeader( options: Partial = {}, ): { styles: Readonly - isLeave: Readonly> - isEnter: Readonly> + isLeave: ComputedRef + isEnter: ComputedRef } { // Config