From 23c26fafb4fc4105e48cdf3543b9bc06d3cf5704 Mon Sep 17 00:00:00 2001 From: bcastlel Date: Sat, 27 Jan 2024 21:30:48 +0400 Subject: [PATCH] remove the Readonly wrapper for the ComputedRef --- 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 4207ec0..5dd96a9 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