From 4320ae5629de7b02fae9a5b23efab8400ac05ced Mon Sep 17 00:00:00 2001 From: thomasRalee Date: Tue, 16 Jan 2024 17:41:45 +0800 Subject: [PATCH] fix: layer bigNumberFormatter typing --- layer/composables/useSharedBigNumberFormatted.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/layer/composables/useSharedBigNumberFormatted.ts b/layer/composables/useSharedBigNumberFormatted.ts index 3f49f805..21894d01 100644 --- a/layer/composables/useSharedBigNumberFormatted.ts +++ b/layer/composables/useSharedBigNumberFormatted.ts @@ -1,4 +1,3 @@ -import { computed, ComputedRef, Ref } from 'vue' import { BigNumber, BigNumberInBase, @@ -114,9 +113,7 @@ const getNumberMinimalDecimals = ( } export function useSharedBigNumberFormatter( - value: - | Ref - | ComputedRef, + value: ComputedRef, options: { decimalPlaces?: number minimalDecimalPlaces?: number