From ff1e15194d47c5a84d585c815fddb43a3f467d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Mon, 5 Oct 2026 17:34:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84(=E6=B3=A5=E7=82=B9=E9=92=B1?= =?UTF-8?q?=E5=8C=85):=20=E5=8E=BB=E6=8E=89=E5=86=97=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E4=BD=99=E9=A2=9D=E8=A7=86=E5=9B=BE=E8=81=94=E5=90=88=E6=88=90?= =?UTF-8?q?=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - PlatformMudPointWalletEntryProps.breakdown 收敛为 ProfileMudPointBalance | null - ProfileMudPointBalanceView 是 ProfileMudPointBalance 的扩展,联合会被 TypeScript 折叠,属于多余类型噪音 - 同步删除不再需要的 type-only import --- .../src/components/PlatformMudPointWalletEntry/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/shared/src/components/PlatformMudPointWalletEntry/index.tsx b/packages/shared/src/components/PlatformMudPointWalletEntry/index.tsx index 97fd52512..1880bd60c 100644 --- a/packages/shared/src/components/PlatformMudPointWalletEntry/index.tsx +++ b/packages/shared/src/components/PlatformMudPointWalletEntry/index.tsx @@ -13,14 +13,13 @@ import MUD_POINT_ICON_SRC from '../../icons/topbar-wallet.png'; import { formatMudPointCount } from '../../utils/format'; import { formatMudPointResetAt, - type ProfileMudPointBalanceView, resolveProfileMudPointBalanceView, shouldShowProfileDailyFreePool, } from '../../utils/mudPoints'; export type PlatformMudPointWalletEntryProps = { balance: number | null; - breakdown?: ProfileMudPointBalance | ProfileMudPointBalanceView | null; + breakdown?: ProfileMudPointBalance | null; isLoading?: boolean; error?: string | null; variant?: 'desktop' | 'mobile' | 'editor';