From 818b024bbc61e4488f207a8e23838cd98a40bf3e Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Fri, 17 Jan 2025 21:19:16 +0800 Subject: [PATCH] chore: update hono type --- .../power/my-wallet-section/withdraw.tsx | 1 - packages/shared/src/hono.ts | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/apps/renderer/src/modules/power/my-wallet-section/withdraw.tsx b/apps/renderer/src/modules/power/my-wallet-section/withdraw.tsx index 54f172433..ad427fcc9 100644 --- a/apps/renderer/src/modules/power/my-wallet-section/withdraw.tsx +++ b/apps/renderer/src/modules/power/my-wallet-section/withdraw.tsx @@ -79,7 +79,6 @@ const WithdrawModalContent = ({ dismiss }: { dismiss: () => void }) => { toRss3?: boolean }) => { const amountBigInt = from(amount, 18)[0] - // @ts-expect-error FIXME: remove this line after API is back await apiClient.wallets.transactions.withdraw.$post({ json: { address, diff --git a/packages/shared/src/hono.ts b/packages/shared/src/hono.ts index 3859404aa..bcd635b41 100644 --- a/packages/shared/src/hono.ts +++ b/packages/shared/src/hono.ts @@ -15677,6 +15677,27 @@ declare const _routes: hono_hono_base.HonoBase